You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tests: Flakyness with "active servers" logic within test suite #404
So, the invalid_host might have gotten swapped out and back in again too quickly.
I actually recognized that this specific job was executing very slow, so it probably has been scheduled on a CI machine currently experiencing more load than others.
changed the title [-]Flakyness with "active servers" logic within test suite[/-][+]Tests: Flakyness with "active servers" logic within test suite[/+]on Apr 26, 2022
Activity
amotl commentedon Mar 25, 2021
Maybe this happens because the retry interval is set to a very low value when running the tests.
crate-python/src/crate/client/test_http.py
Lines 311 to 313 in afb3b0b
So, the
invalid_hostmight have gotten swapped out and back in again too quickly.I actually recognized that this specific job was executing very slow, so it probably has been scheduled on a CI machine currently experiencing more load than others.
[-]Flakyness with "active servers" logic[/-][+]Flakyness with "active servers" logic within test suite[/+]amotl commentedon Mar 26, 2021
Observed this again when running the tests on behalf of #402. So, I added 89507a0 there.
amotl commentedon Apr 8, 2021
The same thing happened again at https://github.com/crate/crate-python/runs/2297326550#step:6:184.
amotl commentedon Apr 8, 2021
Now also, slightly different but the same issue, at https://github.com/crate/crate-python/runs/2297736340#step:6:166.
[-]Flakyness with "active servers" logic within test suite[/-][+]Tests: Flakyness with "active servers" logic within test suite[/+]amotl commentedon Apr 28, 2022
Same thing happens again 12:
Footnotes
https://github.com/crate/crate-python/runs/6210356011#step:6:283 ↩
https://github.com/crate/crate-python/runs/6300072011#step:5:287 ↩
amotl commentedon Sep 29, 2022
I did not observe this flaw recently, so I am closing this issue.
amotl commentedon Oct 6, 2022
It still happens when runners seem to be slow.
-- https://github.com/crate/crate-python/actions/runs/3198965176/jobs/5224159502#step:4:338
Tests: Use small timeouts for server selection tests in `http.txt`
Tests: Use small timeouts for server selection tests in `http.txt`
1 remaining item
amotl commentedon Dec 16, 2022
This one still happens from time to time.
-- https://github.com/crate/crate-python/actions/runs/3700515171/jobs/6269005827#step:4:565
amotl commentedon Jun 17, 2024
Still happening occasionally. One re-run usually fixes the fluke.
-- https://github.com/crate/crate-python/actions/runs/9545350897/job/26305926214#step:4:651
amotl commentedon Oct 25, 2024
This issue has not been observed recently, so I am closing this.
Tests: Use small timeouts for server selection tests in `http.txt`
Tests: Use small timeouts for server selection tests in `http.txt`
amotl commentedon Dec 10, 2025
@surister shared an evaluation about this fluke at #747 (comment):
Thanks, that's an excellent assessment. Do you see a chance to fix this issue positively?
amotl commentedon Dec 16, 2025
-- https://github.com/crate/crate-python/actions/runs/20072360014/job/57577711112?pr=741#step:6:235
-- https://github.com/crate/crate-python/actions/runs/20072361183/job/57577715457?pr=745#step:6:250
amotl commentedon Jan 20, 2026
Apparently, after a few refactorings, the problem is mostly happening on macOS now, see also GH-772?
LayerTest.test_dynamic_http_portis flaky #772 as a duplicate of this issueamotl commentedon Jan 20, 2026
Another sample from GH-750, also occurring on macOS.
-- https://github.com/crate/crate-python/actions/runs/21177084017/job/60908800502?pr=750#step:6:4296
LayerTest.test_dynamic_http_portis flaky #772 as a duplicate of this issueamotl commentedon Feb 7, 2026
I think this spot is a leftover. Let's close this issue, and carry things forward on the new one.
LayerTest.test_dynamic_http_portis flaky #772