Skip to content

Commit 3adb6d8

Browse files
committed
Increase timeout of outgoing.rs tests to (hopefully) reduce flakyness.
1 parent 8b1d9e1 commit 3adb6d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mirrord/layer/tests/outgoing.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ use tokio::net::TcpListener;
3333
/// 4. Expects the peer to send the same data back
3434
#[rstest]
3535
#[tokio::test]
36-
#[timeout(Duration::from_secs(10))]
36+
#[timeout(Duration::from_secs(15))]
3737
async fn outgoing_udp(dylib_path: &Path) {
3838
let (mut test_process, mut intproxy) = Application::RustOutgoingUdp
3939
.start_process_with_layer(dylib_path, vec![], None)
@@ -155,7 +155,7 @@ async fn outgoing_tcp_logic(with_config: Option<&str>, dylib_path: &Path, config
155155
/// See [`outgoing_tcp_logic`].
156156
#[rstest]
157157
#[tokio::test]
158-
#[timeout(Duration::from_secs(10))]
158+
#[timeout(Duration::from_secs(15))]
159159
async fn outgoing_tcp(
160160
#[values(None, Some("outgoing_filter.json"))] with_config: Option<&str>,
161161
dylib_path: &Path,
@@ -173,7 +173,7 @@ async fn outgoing_tcp(
173173
/// list, thus it should go through local, and hang.
174174
#[rstest]
175175
#[tokio::test]
176-
#[timeout(Duration::from_secs(10))]
176+
#[timeout(Duration::from_secs(15))]
177177
#[should_panic]
178178
async fn outgoing_tcp_from_the_local_app_broken(
179179
#[values(

0 commit comments

Comments
 (0)