1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2025-04-12 21:04:05 +00:00

Increase timeouts in test-server

This commit is contained in:
Erlend Langseth 2019-11-04 21:22:08 +01:00 committed by Ploppz
parent f0612f7570
commit 586128670d
2 changed files with 3 additions and 2 deletions
test-server

View file

@ -5,6 +5,7 @@
### Changed
* Update serde_urlencoded to "0.6.1"
* Increase TestServerRuntime timeouts from 500ms to 3000ms
### Fixed

View file

@ -144,7 +144,7 @@ impl TestServer {
.map_err(|e| log::error!("Can not set alpn protocol: {:?}", e));
Connector::new()
.conn_lifetime(time::Duration::from_secs(0))
.timeout(time::Duration::from_millis(500))
.timeout(time::Duration::from_millis(3000))
.ssl(builder.build())
.finish()
}
@ -152,7 +152,7 @@ impl TestServer {
{
Connector::new()
.conn_lifetime(time::Duration::from_secs(0))
.timeout(time::Duration::from_millis(500))
.timeout(time::Duration::from_millis(3000))
.finish()
}
};