Skip to content

Increase DNS resolver timeouts in truncated TCP fallback test#125

Merged
k0kubun merged 1 commit intoruby:masterfrom
k0kubun:flaky-yjit-dns
Mar 25, 2026
Merged

Increase DNS resolver timeouts in truncated TCP fallback test#125
k0kubun merged 1 commit intoruby:masterfrom
k0kubun:flaky-yjit-dns

Conversation

@k0kubun
Copy link
Copy Markdown
Member

@k0kubun k0kubun commented Mar 25, 2026

  • Increase resolver timeouts from 0.1s/0.2s to 0.5s/1s in test_multiple_servers_with_timeout_and_truncated_tcp_fallback
  • The test intentionally hangs TCP server1 to trigger fallback to server2, but the previous timeouts were too tight for loaded CI machines (observed as a timeout flake in YJIT CI)

…and_truncated_tcp_fallback

The test uses intentionally tight timeouts to trigger TCP fallback, but
0.1s/0.2s can be too tight on loaded CI machines, causing the overall
test to time out before the fallback to server2 completes.
@k0kubun k0kubun marked this pull request as ready for review March 25, 2026 05:01
@k0kubun k0kubun merged commit 8984b87 into ruby:master Mar 25, 2026
37 checks passed
@k0kubun k0kubun deleted the flaky-yjit-dns branch March 25, 2026 05:06
matzbot pushed a commit to ruby/ruby that referenced this pull request Mar 25, 2026
test_multiple_servers_with_timeout_and_truncated_tcp_fallback
(ruby/resolv#125)

The test uses intentionally tight timeouts to trigger TCP fallback, but
0.1s/0.2s can be too tight on loaded CI machines, causing the overall
test to time out before the fallback to server2 completes.

ruby/resolv@8984b87f57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant