Skip to content
Snippets Groups Projects
Commit 7ea5fc43 authored by alyapunov's avatar alyapunov Committed by Roman Tsisyk
Browse files

Fix tx_conflict.test

Some verification spaces (q1 and q2) are not truncated before
every test round and that sometimes causes wrong results.

Fix it.
parent 5ae93b22
No related branches found
No related tags found
No related merge requests found
......@@ -126,6 +126,10 @@ function prepare()
end
s1:truncate()
s2:truncate()
if ignore_unnecessary_conflict1 then
q1:truncate()
q2:truncate()
end
for i=1,num_key do
local r = math.random(5)
local v = get_unique_value()
......
......@@ -95,6 +95,10 @@ function prepare()
end
s1:truncate()
s2:truncate()
if ignore_unnecessary_conflict1 then
q1:truncate()
q2:truncate()
end
for i=1,num_key do
local r = math.random(5)
local v = get_unique_value()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment