-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests: Flakyness within "doctests/itests.txt" and "doctests/client.txt" #629
Comments
At [2], I've just observed another flakyness within
[2] https://github.com/crate/crate-python/runs/1359096616?check_suite_focus=true#step:5:154 |
Same thing happened again.
-- https://github.com/crate/crate-python/runs/6013809996?check_suite_focus=true#step:6:327 |
Another fragment coming from File "/Users/runner/work/crate-python/crate-python/src/crate/testing/doctests/layer.txt", line 33, in layer.txt
Failed example:
layer.start()
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/doctest.py", line 1337, in __run
compileflags, 1), test.globs)
File "<doctest layer.txt[6]>", line 1, in <module>
layer.start()
File "/Users/runner/work/crate-python/crate-python/src/crate/testing/layer.py", line 319, in start
self._wait_for_start()
File "/Users/runner/work/crate-python/crate-python/src/crate/testing/layer.py", line 376, in _wait_for_start
self._wait_for(validator)
File "/Users/runner/work/crate-python/crate-python/src/crate/testing/layer.py", line 355, in _wait_for
Error: raise SystemError('Failed to start Crate instance in time.')
SystemError: Failed to start Crate instance in time. -- https://github.com/crate/crate-python/runs/6175214795?check_suite_focus=true#step:6:182 P.S.: The same error has been observed and reported previously at #363 (comment). |
The root cause for In that case, a subsequent attempt to start it will croak like [1]
[1] https://github.com/crate/crate-python/runs/6210165871#step:6:192 |
I am closing this issue. The initial problems have not been observed lately, the second problem is still observable and now moved to #630. |
Hi there,
while working on #388, I just observed tests within
doctests/itests.txt
might be flaky [1]. The test has been run on GHA/macOS.Maybe we should run a
REFRESH TABLE xxx
here instead of just sleeping for a while?crate-python/src/crate/client/sqlalchemy/doctests/itests.txt
Line 143 in 7e12a49
With kind regards,
Andreas.
[1] https://github.com/crate/crate-python/runs/1358981202?check_suite_focus=true#step:5:142
The text was updated successfully, but these errors were encountered: