diff options
author | Tor Egge <Tor.Egge@online.no> | 2021-11-04 15:08:25 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2021-11-04 15:08:25 +0100 |
commit | 8e18b8bf98446fc8a981942e39e4837858c16184 (patch) | |
tree | 495023943537f0ff59fea5fc04dc8bae6586320f /searchlib | |
parent | 789d183e1214acdf8b71556b8048d66680493a70 (diff) |
Relax check for stopping fusion.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/tests/diskindex/fusion/fusion_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/diskindex/fusion/fusion_test.cpp b/searchlib/src/tests/diskindex/fusion/fusion_test.cpp index 415d4d34d0d..3889de5b4c4 100644 --- a/searchlib/src/tests/diskindex/fusion/fusion_test.cpp +++ b/searchlib/src/tests/diskindex/fusion/fusion_test.cpp @@ -610,7 +610,7 @@ TEST_F(FusionTest, require_that_fusion_can_be_stopped) vespalib::rmdir("stopdump3", true); flush_token = std::make_shared<MyFlushToken>(47); ASSERT_FALSE(try_merge_simple_indexes("stopdump3", {"stopdump2"}, flush_token)); - EXPECT_EQ(49, flush_token->get_checks()); + EXPECT_LT(48, flush_token->get_checks()); clean_stopped_fusion_testdirs(); } |