diff options
Diffstat (limited to 'icing/store/document-store_benchmark.cc')
-rw-r--r-- | icing/store/document-store_benchmark.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/icing/store/document-store_benchmark.cc b/icing/store/document-store_benchmark.cc index 5b9c568..46d76d8 100644 --- a/icing/store/document-store_benchmark.cc +++ b/icing/store/document-store_benchmark.cc @@ -163,8 +163,9 @@ void BM_DoesDocumentExistBenchmark(benchmark::State& state) { // stuff. ICING_ASSERT_OK(document_store->Put( CreateDocument("namespace", /*uri=*/std::to_string(i)))); - document_store->Delete("namespace", /*uri=*/std::to_string(i), - clock.GetSystemTimeMilliseconds()); + ICING_ASSERT_OK(document_store->Delete("namespace", + /*uri=*/std::to_string(i), + clock.GetSystemTimeMilliseconds())); } std::default_random_engine random; |