Skip to content

Commit 96b47c7

Browse files
authored
Allow another error in p3_sockets_tcp_streams test (#12927)
Captured in a failure in #12924 Closes #12924
1 parent 35fcf78 commit 96b47c7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

crates/test-programs/src/bin/p3_sockets_tcp_streams.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@ async fn test_tcp_send_drops_stream_when_remote_shutdown(family: IpAddressFamily
103103

104104
let result = client.send_result.await;
105105
assert!(
106-
matches!(result, Err(ErrorCode::ConnectionBroken)),
106+
matches!(
107+
result,
108+
Err(ErrorCode::ConnectionBroken | ErrorCode::ConnectionReset)
109+
),
107110
"unexpected error {result:?}",
108111
);
109112
})

0 commit comments

Comments
 (0)