Files
nixpkgs/pkgs/by-name/po/ponyc/disable-networking-tests.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

43 lines
1.3 KiB
Diff

From e49f97eb4b0fd27b26437638db7984fbcfd3a14f Mon Sep 17 00:00:00 2001
From: Morgan Jones <me@numin.it>
Date: Sun, 4 May 2025 15:46:07 -0700
Subject: [PATCH] net: disable tests in the Nix sandbox
---
packages/net/_test.pony | 19 +------------------
1 file changed, 1 insertion(+), 18 deletions(-)
diff --git a/packages/net/_test.pony b/packages/net/_test.pony
index 05462eb2..c0c6cdfa 100644
--- a/packages/net/_test.pony
+++ b/packages/net/_test.pony
@@ -15,25 +15,8 @@ actor \nodoc\ Main is TestList
new make() => None
fun tag tests(test: PonyTest) =>
- // Tests below function across all systems and are listed alphabetically
+ // (@numinit): only this test works in the Nix sandbox:
test(_TestTCPConnectionFailed)
- test(_TestTCPExpect)
- test(_TestTCPExpectOverBufferSize)
- test(_TestTCPMute)
- test(_TestTCPProxy)
- test(_TestTCPUnmute)
- test(_TestTCPWritev)
-
- // Tests below exclude windows and are listed alphabetically
- ifdef not windows then
- test(_TestTCPConnectionToClosedServerFailed)
- test(_TestTCPThrottle)
- end
-
- // Tests below exclude osx and are listed alphabetically
- ifdef not osx then
- test(_TestBroadcast)
- end
class \nodoc\ _TestPing is UDPNotify
let _h: TestHelper
--
2.47.0