Skip to content

Commit

Permalink
Merge pull request #29 from project-tsurugi/test_with_rw
Browse files Browse the repository at this point in the history
upsertに依存したテストケースの変更
  • Loading branch information
thawk105 authored Oct 6, 2023
2 parents 1e9612e + 96b7ffd commit 4cdd1a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shirakami/test/ApiTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1907,8 +1907,8 @@ TEST_F(ShirakamiApiTest, precommit_callback_ltx) {
TransactionHandle tx1{};
ASSERT_EQ(StatusCode::OK, transaction_borrow_handle(tch0.get(), &tx0));
ASSERT_EQ(StatusCode::OK, transaction_borrow_handle(tch1.get(), &tx1));
ASSERT_EQ(content_put(tx0, st, "a", "A", PutOperation::CREATE_OR_UPDATE), StatusCode::OK);
ASSERT_EQ(content_put(tx1, st, "b", "B", PutOperation::CREATE_OR_UPDATE), StatusCode::OK);
ASSERT_EQ(content_put(tx0, st, "a", "A", PutOperation::CREATE), StatusCode::OK);
ASSERT_EQ(content_put(tx1, st, "b", "B", PutOperation::CREATE), StatusCode::OK);

std::atomic_size_t tx_durable_mark{};
std::atomic_bool called0{};
Expand Down

0 comments on commit 4cdd1a1

Please sign in to comment.