tests: bump simple_tcp_client retries to 20
parent
7b7ab580ab
commit
f259d275fc
|
@ -226,7 +226,7 @@ fn testsuite_end() {
|
||||||
|
|
||||||
// utility code:
|
// utility code:
|
||||||
struct SimpleTcpClientConfig {
|
struct SimpleTcpClientConfig {
|
||||||
retries int = 10
|
retries int = 20
|
||||||
host string = 'static.dev'
|
host string = 'static.dev'
|
||||||
path string = '/'
|
path string = '/'
|
||||||
agent string = 'v/net.tcp.v'
|
agent string = 'v/net.tcp.v'
|
||||||
|
@ -243,7 +243,7 @@ fn simple_tcp_client(config SimpleTcpClientConfig) ?string {
|
||||||
if tries > config.retries {
|
if tries > config.retries {
|
||||||
return error(err)
|
return error(err)
|
||||||
}
|
}
|
||||||
time.sleep_ms(150)
|
time.sleep_ms(100)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue