Skip to content
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

test_blocking_command_client_pause #4470

Open
kostasrim opened this issue Jan 17, 2025 · 0 comments
Open

test_blocking_command_client_pause #4470

kostasrim opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working failing-test

Comments

@kostasrim
Copy link
Contributor

See failure in https://github.com/dragonflydb/dragonfly/actions/runs/12780733885/job/35627503311#step:6:807

    
        async def lpush_command():
            await async_client.execute_command("lpush src value")
    
        blpop = asyncio.create_task(blpop_command())
        brpoplpush = asyncio.create_task(brpoplpush_command())
        await asyncio.sleep(0.1)
    
        res = await async_client.execute_command("client pause 1000")
        assert res == "OK"
    
        lpush = asyncio.create_task(lpush_command())
        assert not lpush.done()
    
        await lpush
>       await brpoplpush

dragonfly/connection_test.py:956: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    async def brpoplpush_command():
        res = await async_client.execute_command("brpoplpush src dest7 2")
>       assert res == "value"
E       AssertionError: assert equals failed
E         None     'value'

@kostasrim kostasrim added bug Something isn't working failing-test labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working failing-test
Projects
None yet
Development

No branches or pull requests

1 participant