Use ASSERT_EQ() instead of assert() in merge_test

This commit is contained in:
Igor Canadi 2014-01-11 09:25:42 -08:00
parent a09ee1069d
commit dd6ecdf342

View File

@ -340,8 +340,8 @@ void testSingleBatchSuccessiveMerge(
}
assert(get_value_str.size() == sizeof(uint64_t));
uint64_t get_value = DecodeFixed64(&get_value_str[0]);
assert(get_value == num_merges * merge_value);
assert(numMergeOperatorCalls == (num_merges % (max_num_merges + 1)));
ASSERT_EQ(get_value, num_merges * merge_value);
ASSERT_EQ(numMergeOperatorCalls, (num_merges % (max_num_merges + 1)));
}
void runTest(int argc, const string& dbname, const bool use_ttl = false) {