diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-01-20 12:01:13 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-01-20 12:01:13 +0000 |
commit | ff551559deacaacc3bb77699686bb6c65e08a818 (patch) | |
tree | fcfa8056cd61aa89bfa50728ab6983fa85ce4c88 /storage/src/tests/persistence/filestorage/filestormanagertest.cpp | |
parent | c5c86dd6b6f0baf2b807ed9cd2dbc16bb507cab8 (diff) |
Add debug dumping and other minor followup on PR comments.
Diffstat (limited to 'storage/src/tests/persistence/filestorage/filestormanagertest.cpp')
-rw-r--r-- | storage/src/tests/persistence/filestorage/filestormanagertest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/src/tests/persistence/filestorage/filestormanagertest.cpp b/storage/src/tests/persistence/filestorage/filestormanagertest.cpp index 2cd9f34c0f3..acccbb8b9b9 100644 --- a/storage/src/tests/persistence/filestorage/filestormanagertest.cpp +++ b/storage/src/tests/persistence/filestorage/filestormanagertest.cpp @@ -419,14 +419,14 @@ TEST_F(FileStorManagerTest, running_task_against_unknown_bucket_fails) { EXPECT_TRUE(getDummyPersistence().getClusterState().nodeUp()); auto executor = getDummyPersistence().get_bucket_executor(); - EXPECT_TRUE(executor); + ASSERT_TRUE(executor); spi::Bucket b1 = makeSpiBucket(document::BucketId(1)); std::atomic<size_t> numInvocations(0); auto response = executor->execute(b1, spi::makeBucketTask([&numInvocations](const spi::Bucket &, std::shared_ptr<IDestructorCallback>) { numInvocations++; })); - EXPECT_TRUE(response); + ASSERT_TRUE(response); EXPECT_EQ(0, numInvocations); response->run(spi::Bucket(), {}); EXPECT_EQ(1, numInvocations); @@ -439,7 +439,7 @@ TEST_F(FileStorManagerTest, running_task_against_existing_bucket_works) { EXPECT_TRUE(getDummyPersistence().getClusterState().nodeUp()); auto executor = getDummyPersistence().get_bucket_executor(); - EXPECT_TRUE(executor); + ASSERT_TRUE(executor); spi::Bucket b1 = makeSpiBucket(document::BucketId(1)); |