tarantool / queue

Create task queues, add and take jobs, monitor failed tasks
Other
234 stars 52 forks source link

test: fix flaky 050-ttl.t #188

Closed oleg-jukovec closed 1 year ago

oleg-jukovec commented 1 year ago

We use system clock in the internal implementation for TTL, not monotonic clock. The test may fail when changing the system clock. In addition, fiber.sleep() may wake up earlier than planned by the system clock.

We should to handle these situations in the test.

Closes #187