Skip to content

Commit

Permalink
test: deflaking coverage (envoyproxy#18234)
Browse files Browse the repository at this point in the history
Signed-off-by: Alyssa Wilk <[email protected]>
  • Loading branch information
alyssawilk authored Sep 23, 2021
1 parent 402dbd0 commit e9bb6e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/server/guarddog_impl_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,8 @@ TEST_P(GuardDogActionsTest, MegaMissShouldSaturateOnMegaMissEvent) {
EXPECT_THAT(events_, ElementsAre("MEGAMISS : 10", "MEGAMISS : 10"));
}

// Disabled for coverage per #18229
#if !defined(ENVOY_CONFIG_COVERAGE)
TEST_P(GuardDogActionsTest, ShouldRespectEventPriority) {
// Priority of events are KILL, MULTIKILL, MEGAMISS and MISS

Expand Down Expand Up @@ -804,6 +806,7 @@ TEST_P(GuardDogActionsTest, ShouldRespectEventPriority) {
guard_dog_->forceCheckForTest();
EXPECT_THAT(events_, ElementsAre("MEGAMISS : 10", "MISS : 10"));
}
#endif

TEST_P(GuardDogActionsTest, KillShouldTriggerGuardDogActions) {
auto die_function = [&]() -> void {
Expand Down

0 comments on commit e9bb6e1

Please sign in to comment.