mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 11:30:36 +00:00
This unit test may fail in debug mode since .then may yield, even if inject returns a ready future, so the wall clock timing has no basis. As seen in https://jenkins.scylladb.com/job/releng/job/Scylla-CI/932/testReport/junit/boost.error_injection_test.debug/test_boost_error_injection_test/test_inject_noop/ ``` [Exception] - critical check wait_time.count() < sleep_msec.count() has failed [47 >= 10] == [File] - test/boost/error_injection_test.cc == [Line] -45 ``` Instead, just verify that inject returns a successful, ready future, when using a non-existing errr injection name. Signed-off-by: Benny Halevy <bhalevy@scylladb.com> Closes #10842
12 KiB
12 KiB