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.
Failure in test /Users/runner/work/crate-python/crate-python/src/crate/client/sqlalchemy/doctests/itests.txt
Failed doctest test for itests.txt
File "/Users/runner/work/crate-python/crate-python/src/crate/client/sqlalchemy/doctests/itests.txt", line 0
----------------------------------------------------------------------
File "/Users/runner/work/crate-python/crate-python/src/crate/client/sqlalchemy/doctests/itests.txt", line 146, in itests.txt
Failed example:
result.rowcount
Expected:
10
Got:
4
Maybe we should run a REFRESH TABLE xxx here instead of just sleeping for a while?
|
>>> sleep(2) # give crate some time to settle |
With kind regards,
Andreas.
[1] https://github.com/crate/crate-python/runs/1358981202?check_suite_focus=true#step:5:142
Hi there,
while working on #388, I just observed tests within
doctests/itests.txtmight be flaky [1]. The test has been run on GHA/macOS.Maybe we should run a
REFRESH TABLE xxxhere 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