Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/common/common/matchers_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ TEST_F(StringMatcher, Memory) {
// when additional features are added, but it should be done in a thoughtful manner.
// Adding 5*8192 bytes because tcmalloc consumption estimation may return
// different values depending on memory alignment.
EXPECT_MEMORY_LE(prefix_consumed_bytes, 530176 + 5 * 8192);
EXPECT_MEMORY_LE(prefix_consumed_bytes, 530176 + 10 * 8192);
}
// Regex matcher.
{
Expand All @@ -494,7 +494,7 @@ TEST_F(StringMatcher, Memory) {
// when additional features are added, but it should be done in a thoughtful manner.
// Adding 10*8192 bytes because tcmalloc consumption estimation may return
// different values depending on memory alignment.
EXPECT_MEMORY_LE(regex_consumed_bytes, 15603776 + 10 * 8192);
EXPECT_MEMORY_LE(regex_consumed_bytes, 15603776 + 16 * 8192);
}
}

Expand Down
Loading