|
|
@ -584,7 +584,7 @@ class SeqAdvanceConcurrentTest |
|
|
|
size_t split_cnt_; |
|
|
|
size_t split_cnt_; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
INSTANTIATE_TEST_CASE_P( |
|
|
|
INSTANTIATE_TEST_SUITE_P( |
|
|
|
WritePreparedTransaction, WritePreparedTransactionTest, |
|
|
|
WritePreparedTransaction, WritePreparedTransactionTest, |
|
|
|
::testing::Values( |
|
|
|
::testing::Values( |
|
|
|
std::make_tuple(false, false, WRITE_PREPARED, kOrderedWrite), |
|
|
|
std::make_tuple(false, false, WRITE_PREPARED, kOrderedWrite), |
|
|
@ -592,7 +592,7 @@ INSTANTIATE_TEST_CASE_P( |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kUnorderedWrite))); |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kUnorderedWrite))); |
|
|
|
|
|
|
|
|
|
|
|
#ifndef ROCKSDB_VALGRIND_RUN |
|
|
|
#ifndef ROCKSDB_VALGRIND_RUN |
|
|
|
INSTANTIATE_TEST_CASE_P( |
|
|
|
INSTANTIATE_TEST_SUITE_P( |
|
|
|
TwoWriteQueues, SnapshotConcurrentAccessTest, |
|
|
|
TwoWriteQueues, SnapshotConcurrentAccessTest, |
|
|
|
::testing::Values( |
|
|
|
::testing::Values( |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kOrderedWrite, 0, 20), |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kOrderedWrite, 0, 20), |
|
|
@ -637,7 +637,7 @@ INSTANTIATE_TEST_CASE_P( |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kUnorderedWrite, 18, 20), |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kUnorderedWrite, 18, 20), |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kUnorderedWrite, 19, 20))); |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kUnorderedWrite, 19, 20))); |
|
|
|
|
|
|
|
|
|
|
|
INSTANTIATE_TEST_CASE_P( |
|
|
|
INSTANTIATE_TEST_SUITE_P( |
|
|
|
OneWriteQueue, SnapshotConcurrentAccessTest, |
|
|
|
OneWriteQueue, SnapshotConcurrentAccessTest, |
|
|
|
::testing::Values( |
|
|
|
::testing::Values( |
|
|
|
std::make_tuple(false, false, WRITE_PREPARED, kOrderedWrite, 0, 20), |
|
|
|
std::make_tuple(false, false, WRITE_PREPARED, kOrderedWrite, 0, 20), |
|
|
@ -661,7 +661,7 @@ INSTANTIATE_TEST_CASE_P( |
|
|
|
std::make_tuple(false, false, WRITE_PREPARED, kOrderedWrite, 18, 20), |
|
|
|
std::make_tuple(false, false, WRITE_PREPARED, kOrderedWrite, 18, 20), |
|
|
|
std::make_tuple(false, false, WRITE_PREPARED, kOrderedWrite, 19, 20))); |
|
|
|
std::make_tuple(false, false, WRITE_PREPARED, kOrderedWrite, 19, 20))); |
|
|
|
|
|
|
|
|
|
|
|
INSTANTIATE_TEST_CASE_P( |
|
|
|
INSTANTIATE_TEST_SUITE_P( |
|
|
|
TwoWriteQueues, SeqAdvanceConcurrentTest, |
|
|
|
TwoWriteQueues, SeqAdvanceConcurrentTest, |
|
|
|
::testing::Values( |
|
|
|
::testing::Values( |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kOrderedWrite, 0, 10), |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kOrderedWrite, 0, 10), |
|
|
@ -685,7 +685,7 @@ INSTANTIATE_TEST_CASE_P( |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kUnorderedWrite, 8, 10), |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kUnorderedWrite, 8, 10), |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kUnorderedWrite, 9, 10))); |
|
|
|
std::make_tuple(false, true, WRITE_PREPARED, kUnorderedWrite, 9, 10))); |
|
|
|
|
|
|
|
|
|
|
|
INSTANTIATE_TEST_CASE_P( |
|
|
|
INSTANTIATE_TEST_SUITE_P( |
|
|
|
OneWriteQueue, SeqAdvanceConcurrentTest, |
|
|
|
OneWriteQueue, SeqAdvanceConcurrentTest, |
|
|
|
::testing::Values( |
|
|
|
::testing::Values( |
|
|
|
std::make_tuple(false, false, WRITE_PREPARED, kOrderedWrite, 0, 10), |
|
|
|
std::make_tuple(false, false, WRITE_PREPARED, kOrderedWrite, 0, 10), |
|
|
|