We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d07175e commit d580215Copy full SHA for d580215
server/tests/overall_core/mod.rs
@@ -853,6 +853,12 @@ mod test2 {
853
854
#[tokio::test]
855
async fn test_client() -> Result<(), Box<dyn Error + Send + Sync>> {
856
+ // If both thirtyfour tests start at the same time, both fail; perhaps
857
+ // there's some confusion when two requests care made to the same webserver
858
+ // from two clients within the same process? In order to avoid then, insert
859
+ // a delay to hopefully start this test at a different time than
860
+ // `test_server_core`.
861
+ sleep(Duration::from_millis(100)).await;
862
test2::harness(test_client_core, prep_test_dir!()).await
863
}
864
0 commit comments