mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: bump simple_tcp_client retries to 20
This commit is contained in:
parent
7b7ab580ab
commit
f259d275fc
@ -226,7 +226,7 @@ fn testsuite_end() {
|
||||
|
||||
// utility code:
|
||||
struct SimpleTcpClientConfig {
|
||||
retries int = 10
|
||||
retries int = 20
|
||||
host string = 'static.dev'
|
||||
path string = '/'
|
||||
agent string = 'v/net.tcp.v'
|
||||
@ -243,7 +243,7 @@ fn simple_tcp_client(config SimpleTcpClientConfig) ?string {
|
||||
if tries > config.retries {
|
||||
return error(err)
|
||||
}
|
||||
time.sleep_ms(150)
|
||||
time.sleep_ms(100)
|
||||
continue
|
||||
}
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user