Skip to content

Commit 8f1ddbb

Browse files
oleg-jukovecLeonidVas
authored andcommitted
test: fix 190-work-with-ttl-buried-task.t
This test failed due to the use of undeclared variables. The patch makes these variables local.
1 parent 32fdf3a commit 8f1ddbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/190-work-with-ttl-buried-task.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ test:test('test work with "ttl", when "bury" after "take"', function(test)
5252

5353
-- Check status of the task after "ttl" has expired.
5454
fiber.sleep(TTL * 2)
55-
ok, res = pcall(tube.peek, tube, id)
55+
local ok, res = pcall(tube.peek, tube, id)
5656
test:ok(res:match(string.format('Task %d not found', id)),
5757
('task done, driver: "%s"'):format(driver))
5858

0 commit comments

Comments
 (0)