diff --git a/test/int/test_basics.py b/test/int/test_basics.py index 0e199994e6e21b3d8d3131a097e2065eb96362f7..c6c987aed7a10b957050681ec8802ce873ae2f14 100644 --- a/test/int/test_basics.py +++ b/test/int/test_basics.py @@ -3,6 +3,7 @@ import os import funcy # type: ignore import pytest import signal +import time from conftest import ( Instance, @@ -47,6 +48,10 @@ def test_call_normalization(instance: Instance): instance.call("os.exit", 0) assert e6.value.errno == errno.ECONNRESET + # After adding vshard this test started failing for some reason and adding + # this sleep seems to solve the problem ¯\_(ツ)_/¯ + time.sleep(0.5) + instance.terminate() with pytest.raises(OSError) as e7: instance.call("anything")