Skip to content

Commit 0716b02

Browse files
committed
test: vinyl/gh.test.lua fix mistake
Found that in one previous commit 42c64d0 ('test: fix hanging of vinyl/gh.test.lua') Was mistakenly made such change: -while finished ~= 2 do fiber.sleep(0.01) end +test_run:wait_cond(function() return finished ~= 2 end) And the logic of the check was broken. This patch fixes it. Part of #5141 Fixes tarantool/test-run#261 Part of tarantool/tarantool-qa#106
1 parent b5b1dff commit 0716b02

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

test/vinyl/gh.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ test_run:cmd("setopt delimiter ''");
714714
cont = false
715715
---
716716
...
717-
test_run:wait_cond(function() return finished ~= 2 end)
717+
test_run:wait_cond(function() return finished == 2 end)
718718
---
719719
- true
720720
...

test/vinyl/gh.test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ end;
309309
test_run:cmd("setopt delimiter ''");
310310

311311
cont = false
312-
test_run:wait_cond(function() return finished ~= 2 end)
312+
test_run:wait_cond(function() return finished == 2 end)
313313

314314
s:drop()
315315

test/vinyl/suite.ini

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ fragile = {
5858
"issues": [ "gh-5089" ],
5959
"checksums": [ "f6d6c5aed699b65c9e9eb1ad068578d2", "dbd3d6e852b2db785b3222c30e1f6f9c", "f56467141ef34c20c16ef86ca4124c47", "a64091902c05801d2a380729520c4c64" ]
6060
},
61-
"gh.test.lua": {
62-
"issues": [ "gh-5141" ],
63-
"checksums": [ "f1286e9e4710062ddfbffb61b2fe2743", "96b22440ab8a881d6b8d14c5ee1672fb", "fc77a97c3c891c57d4717087f7a65bd0", "83efab113cd395b943a2d89c5e63328e", "aa0858238bbf7ee8f1ab77a3ae75f06b", "f6d23254a69a08f2a7773f2ca6c13066", "071ef0486622540e665009047b6eea19" ]
64-
},
6561
"gh-5141-invalid-vylog-file.test.lua": {
6662
"issues": [ "gh-5141" ],
6763
"checksums": [ "1f4d4261fc63291c4020372986c62e2e", "7e103822262602a7fba4f8f3f6ffb6b7", "09279dacc8c3f96d86de37481774f5f6" ]

0 commit comments

Comments
 (0)