Skip to content

Conversation

@ludfjig
Copy link
Contributor

@ludfjig ludfjig commented Nov 3, 2025

This benchmark is flaky on windows because sometimes the guest call has not started before issuing the kill, causing the benchmark to run forever. For an example where this happened, see here. The fix is just to sleep for a little longer, hopefully allowing the guest function thread to enter the guest function. This test started being flaky after #959 was merged, since we can no longer cancel guest functions in advance.

Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
@ludfjig ludfjig added the kind/bugfix For PRs that fix bugs label Nov 3, 2025
@ludfjig ludfjig changed the title Allow windows more time to enter benchmark for interrupt benchmark Allow windows more time to enter guest func for interrupt benchmark Nov 3, 2025
@jsturtevant
Copy link
Contributor

LGTM, I triggered CI to re-run to check for flakes

@ludfjig ludfjig merged commit af26283 into hyperlight-dev:main Nov 4, 2025
158 of 159 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bugfix For PRs that fix bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants