]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test: Initialize timer
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 5 May 2020 09:04:44 +0000 (09:04 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 5 Jan 2021 12:56:11 +0000 (14:56 +0200)
commitb65968028ab34201da9aca976377c345c02432c1
treef11a7f25b03ac59a99e3f1b77a429eef180a8a7b
parent47026260e611a15a528abe988709613b23fa48d1
test: Initialize timer

Some timer tests don't actually initialize the timer, for which
reason the callbacks will never be executed, leading to an infinite
loop.

This change initializes the timer, stopping it after the tests
finish.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/test/TestTimers.cc