File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33# Licensed under the MIT License. See LICENSE file for details.
44
55load ../harness
6+ load test_helpers
67
78setup () {
89 # Create test data for performance tests
@@ -208,11 +209,14 @@ teardown() {
208209@test " can_connect_to performance with multiple connections" {
209210 # Test multiple rapid connections to known good endpoints
210211 # Note: Be respectful and don't hammer servers
211-
212+ skip_if_ci_with_reason " UDP connectivity unreliable in CI containers"
213+ skip_if_missing_nc
214+ skip_if_no_network
215+
212216 for i in {1..5}; do
213217 run can_connect_to " 1.1.1.1" 53 udp
214218 [ " $status " -eq 0 ]
215-
219+
216220 # Small delay to be respectful
217221 sleep 0.1
218222 done
@@ -221,7 +225,8 @@ teardown() {
221225@test " can_connect_to performance with timeout scenarios" {
222226 # Test connection attempts to unreachable addresses
223227 # These should timeout quickly due to /dev/tcp mechanism
224-
228+ skip_if_ci_with_reason " Timeout behavior unreliable in CI containers"
229+
225230 for i in {1..10}; do
226231 run can_connect_to " 192.0.2.$i " 12345 tcp # RFC5737 test network
227232 [ " $status " -eq 1 ]
You can’t perform that action at this time.
0 commit comments