Add TEST and ASSERT macros
This commit is contained in:
parent
22bc2eb71c
commit
7442e43dbf
|
@ -934,6 +934,8 @@ struct LogPushData : NonCopyable {
|
|||
// subsequence wasn't actually used and can be decremented.
|
||||
if (!updatedLocation) {
|
||||
this->subsequence--;
|
||||
TEST(true); // No new SpanContextMessage written to transaction logs
|
||||
ASSERT(this->subsequence > 0);
|
||||
}
|
||||
} else {
|
||||
// When writing a metadata message, make sure transaction state has
|
||||
|
@ -992,6 +994,7 @@ private:
|
|||
return false;
|
||||
}
|
||||
|
||||
TEST(true); // Wrote SpanContextMessage to a transaction log
|
||||
writtenLocations.insert(location);
|
||||
|
||||
BinaryWriter& wr = messagesWriter[location];
|
||||
|
|
Loading…
Reference in New Issue