diff --git a/tests/integration_tests/infrastructure/test_cache_database.py b/tests/integration_tests/infrastructure/test_cache_database.py index 04a56b4208a8..67a634d67b0d 100644 --- a/tests/integration_tests/infrastructure/test_cache_database.py +++ b/tests/integration_tests/infrastructure/test_cache_database.py @@ -146,8 +146,9 @@ def setup(self): def teardown(self): # Tests will fail if Redis is not flushed on tear down + time.sleep(0.2) self.database.flush() # Comment this line out to preserve data between tests for debugging - time.sleep(1.0) # Ensure clean slate + time.sleep(0.5) # Ensure clean slate @pytest.mark.asyncio async def test_load_general_objects_when_nothing_in_cache_returns_empty_dict(self):