Skip to content

Backport of peerstream: fix flaky test related to autopilot integration into release/1.15.x#18989

Merged
hc-github-team-consul-core merged 1 commit intorelease/1.15.xfrom
backport/rboyer/fix-flaky-stream-test/gratefully-sound-elf
Sep 22, 2023
Merged

Backport of peerstream: fix flaky test related to autopilot integration into release/1.15.x#18989
hc-github-team-consul-core merged 1 commit intorelease/1.15.xfrom
backport/rboyer/fix-flaky-stream-test/gratefully-sound-elf

Conversation

@hc-github-team-consul-core
Copy link
Collaborator

Backport

This PR is auto-generated from #18979 to be assessed for backporting due to the inclusion of the label backport/1.15.

The below text is copied from the body of the original PR.


Description

Occasionally a peerstream/subscription test would flake because a handler was called one extra time. This was due to an overly restrictive mock being too sensitive to multiple requests for the same data.

These tests did not need to care about the number of calls, so I've swapped it out with a dummy object instead in all of the relevant tests. Hopefully that removes the flake completely.


Overview of commits

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved Consul Bot automated PR

@vercel vercel bot temporarily deployed to Preview – consul September 22, 2023 18:31 Inactive
@hc-github-team-consul-core hc-github-team-consul-core merged commit cbbc740 into release/1.15.x Sep 22, 2023
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/rboyer/fix-flaky-stream-test/gratefully-sound-elf branch September 22, 2023 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants