Skip to content

fix: poll async resolutions within the test harness#543

Open
doudou wants to merge 2 commits intotransition-to-runkitfrom
test_poll_async
Open

fix: poll async resolutions within the test harness#543
doudou wants to merge 2 commits intotransition-to-runkitfrom
test_poll_async

Conversation

@doudou
Copy link
Member

@doudou doudou commented Feb 5, 2026

Depends on:

So far, if code executed during the test called apply_requirement_modifications,
the test would have created an async resolution but never resolved it. This
interferes with the rest of the test, and in particular if the test relies on
connection management (which is "paused" during resolution)

Make sure the expectation harness calls async_poll to finish the resolution

So far, if code executed during the test called apply_requirement_modifications,
the test would have created an async resolution but never resolved it. This
interferes with the rest of the test, and in particular if the test relies on
connection management (which is "paused" during resolution)

Make sure the expectation harness calls async_poll to finish the resolution
@doudou doudou requested review from jhonasiv and wvmcastro February 5, 2026 18:16

Choose a reason for hiding this comment

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

This refactor was indispensable or "just" an improvement on readability and responsibility?

Comment on lines +21 to +22
it "finishes within the test the resolutions " \
"created during the generation block" do

Choose a reason for hiding this comment

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

replicate the test for "finishes at the end"

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