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: update async_no_yield test from vconnect test group #473

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions test/replicaset-luatest/vconnect_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,14 @@ test_group.test_async_no_yield = function(g)
local csw1 = fiber.self():csw()
local ret, err = rs:callrw('get_uuid', {}, opts)
local csw2 = fiber.self():csw()
-- Waiting for #456 to be fixed.
t.assert_equals(csw2, csw1 + 1)
if vutil.version_is_at_least(2, 11, 0, nil, 0, 0) then
-- Temporarily disabled until #456 is fixed.
-- t.assert_equals(csw2, csw1)
t.assert(true)
else
-- Due to tarantool/tarantool#9489 bug.
t.assert_equals(csw2, csw1 + 1)
end
t.assert_str_contains(err.name, 'VHANDSHAKE_NOT_COMPLETE')
t.assert_equals(ret, nil)
t.assert_not_equals(rs.master.conn.state, 'closed')
Expand Down
Loading