Skip to content

Commit

Permalink
Fix redis async tests have their own table db=1
Browse files Browse the repository at this point in the history
  • Loading branch information
jernejfrank committed Jan 15, 2025
1 parent bdd613e commit 9bce9c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integrations/persisters/test_b_redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ def test_serialization_with_pickle(redis_persister_with_ns):

@pytest.fixture
async def async_redis_persister():
persister = AsyncRedisBasePersister.from_values(host="localhost", port=6379, db=0)
persister = AsyncRedisBasePersister.from_values(host="localhost", port=6379, db=1)
yield persister
await persister.connection.aclose()


@pytest.fixture
async def async_redis_persister_with_ns():
persister = AsyncRedisBasePersister.from_values(
host="localhost", port=6379, db=0, namespace="test"
host="localhost", port=6379, db=1, namespace="test_async"
)
yield persister
await persister.connection.aclose()
Expand Down

0 comments on commit 9bce9c2

Please sign in to comment.