-
Notifications
You must be signed in to change notification settings - Fork 353
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 failed: ASSERT: failed to test xclaim: 0. #76
Comments
Sorry for the late reply. I cannot reproduce your problem with both 5.0.7 and 6.0.6. Is there any other clients writing to your Redis instance while you are doing the test? Also can you change the Redis' port to some magic number, i.e. 9135, to ensure that no one else is using your Redis instance. Regards |
Hi @sewenew, thanks for the reply. No, there aren't any other clients connected to the instance, I'm on a development machine. shaun@shaunsthinkpad:~/src/redis-plus-plus$ ./compile/test/test_redis++ -h localhost -p 9135 |
I still cannot reproduce your problem. Also I double checked the test code, it should work. Can you try the following test with your Redis and redis-cli:
Your error message shows that the last Can you show me the result of the last Regards |
@sewenew will run soon as I can and get back to you. Thank you. |
@sewenew Looks like my Redis passed. Output below:
|
That's really strange. The test seems fail on the last Can you modify line 201 of src/sw/redis++/stream_cmds_test.hpp file as follows, to see if the test can be passed:
Regards |
@sewenew Made the change, but still failed. Same Error:
Could this problem be related to running Redis on Ubuntu in WSL 1? |
That's an important clue :) I did some googling, and it seems that WLS has a bug, and Please check the following links:
Since
Regards |
@sewenew thanks for all your hard work. I should have suspected WSL as being the culprit earlier on. It was not included with enough emphasis in my initial post. |
@shauningoldsby Take it easy :) I'll close this issue. If you still have any problem with redis-plus-plus feel free to let me know. If you like it, also feel free to star it :) Regards |
Run in Ubuntu 20.04 on WSL with Redis 5.0.7 and then 6.0.6. Same results.
Testing Redis...
Pass sanity tests
Pass connection commands tests
Pass keys commands tests
Pass string commands tests
Pass list commands tests
Pass hash commands tests
Pass set commands tests
Pass zset commands tests
Pass hyperloglog commands tests
Pass geo commands tests
Pass script commands tests
Pass pubsub tests
Pass pipeline and transaction tests
Pass threads tests
Test failed: ASSERT: failed to test xclaim: 0. /home/shaun/src/redis-plus-plus/test/src/sw/redis++/stream_cmds_test.hpp:205
The text was updated successfully, but these errors were encountered: