Skip to content

Commit

Permalink
chore: test file needed
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanlakhani committed Oct 8, 2023
1 parent 9fb24e5 commit fcfca11
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 3 additions & 3 deletions homestar-runtime/tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ fn test_workflow_run_serial() -> Result<()> {
.unwrap();

let socket = SocketAddr::new(IpAddr::V6(Ipv6Addr::LOCALHOST), 9888);
let result = retry(Exponential::from_millis(1000).take(20), || {
let result = retry(Exponential::from_millis(1000).take(10), || {
TcpStream::connect(socket).map(|stream| stream.shutdown(Shutdown::Both))
});

Expand Down Expand Up @@ -392,7 +392,7 @@ fn test_server_v4_serial() -> Result<()> {
.unwrap();

let socket = SocketAddr::new(IpAddr::V4(Ipv4Addr::LOCALHOST), 9999);
let result = retry(Exponential::from_millis(1000).take(20), || {
let result = retry(Exponential::from_millis(1000).take(10), || {
TcpStream::connect(socket).map(|stream| stream.shutdown(Shutdown::Both))
});

Expand Down Expand Up @@ -449,7 +449,7 @@ fn test_daemon_v4_serial() -> Result<()> {
.success();

let socket = SocketAddr::new(IpAddr::V4(Ipv4Addr::LOCALHOST), 9999);
let result = retry(Exponential::from_millis(1000).take(20), || {
let result = retry(Exponential::from_millis(1000).take(10), || {
TcpStream::connect(socket).map(|stream| stream.shutdown(Shutdown::Both))
});

Expand Down
9 changes: 9 additions & 0 deletions homestar-runtime/tests/fixtures/test_workflow.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[monitoring]
process_collector_interval = 500
metrics_port = 4012

[node]

[node.network]
events_buffer_len = 1000
rpc_port = 9888

0 comments on commit fcfca11

Please sign in to comment.