--- a/tests/timeouts.rs
+++ b/tests/timeouts.rs
@@ -91,4 +91,4 @@
 
-#[cfg(not(target_arch = "wasm32"))]
 #[tokio::test]
+#[cfg(not(any(target_arch = "wasm32",target_arch = "s390x")))]
 async fn connect_many_timeout_succeeds() {
