-
Notifications
You must be signed in to change notification settings - Fork 60
tests: queue tests fail #140
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
Conversation
221b01d
to
3e71f41
Compare
3e71f41
to
876a8f2
Compare
Btw, commit name is confusing: queue tests are fixed now, they fail no more. |
876a8f2
to
fc3e382
Compare
Fixed. |
e908f0b
to
6ba27e0
Compare
Sorry, I removed the branch and closed the issue by mistake. Everything should be restored now. |
6ba27e0
to
5fbcdfb
Compare
For clarity: in module queue space |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no objections
5fbcdfb
to
ec8d114
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Before this patch, queue tests failed due to impossibility to use _queue_taken, which was deprecated in tarantool/queue [1]. Switch to _queue_taken_2 fixed it. Create access and some other actions were denied for test user. Additional grants fixed this problem. The test `TestUtube_Put` was affected by replacing timeout in the call of `TakeTimeout()` with timeout of connection structure. For clarification of this effect see annotation for function `TakeTimeout()` [2]. That was fixed by making connection timeout longer than the timeout in the function call. The step in testing.yml was uncommented for enabling queue tests in CI. 1. https://github.com/tarantool/queue/tree/7d05b6db5b0d596db4281d53b57811e156234a0d#fields-of-the-_queue_consumers-space 2. https://github.com/tarantool/go-tarantool/blob/master/queue/queue.go#L35 Fixes #115
ec8d114
to
75efd65
Compare
tests: queue tests fix
Before this patch, queue tests failed due to impossibility to use _queue_taken,
which was deprecated in tarantool/queue [1]. Switch to _queue_taken_2 fixed it.
Create access and some other actions were denied for test user.
Additional grants fixed this problem.
The test
TestUtube_Put
was affected by replacing timeout in the callof
TakeTimeout()
with timeout of connection structure. For clarificationof this effect see annotation for function
TakeTimeout()
[2]. That wasfixed by making connection timeout longer than the timeout in the function call.
The step in testing.yml was uncommented for enabling queue tests in CI.
Fixes #115