Skip to content

test(subscriber): add tests for excessive poll counts#476

Merged
hawkw merged 4 commits intomainfrom
hds/subscriber-test-excessive-poll-count
Nov 16, 2023
Merged

test(subscriber): add tests for excessive poll counts#476
hawkw merged 4 commits intomainfrom
hds/subscriber-test-excessive-poll-count

Conversation

@hds
Copy link
Collaborator

@hds hds commented Oct 12, 2023

A defect in the way polls are counted was fixed in #440. The defect
caused the polls of a "child" task to also be counted on the "parent"
task. Where in this case, the "parent" is a task that spawns the "child"
task.

This change adds a regression test for that fix.

To do so, functionality to record and validate poll counts is added to
the console-subscriber integration test framework. The new
functionality is also used to add some basic tests for poll counts.

A defect in the way polls are counted was fixed in #440. The defect
caused the polls of a "child" task to also be counted on the "parent"
task. Where in this case, the "parent" is a task that spawns the "child"
task.

This change adds a regression test for that fix.

To do so, functionality to record and validate poll counts is added to
the `console-subscriber` integration test framework. The new
functionality is also used to add some basic tests for poll counts.
@hds hds requested a review from a team as a code owner October 12, 2023 09:36
@hawkw hawkw enabled auto-merge (squash) November 16, 2023 17:22
@hawkw hawkw merged commit 8269b5f into main Nov 16, 2023
@hawkw hawkw deleted the hds/subscriber-test-excessive-poll-count branch November 16, 2023 17:27
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.

2 participants