Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Fragile Smoketest #92

Merged
merged 1 commit into from
Jul 20, 2023
Merged

Fix Fragile Smoketest #92

merged 1 commit into from
Jul 20, 2023

Conversation

jdetter
Copy link
Collaborator

@jdetter jdetter commented Jul 20, 2023

Description of Changes

  • The cancel-reducer smoketest sometimes fails when the github runner is especially busy. Basically SpacetimeDB isn't able to cancel the test reducer before it executes because SpacetimeDB is too busy running other tests.

API

  • This is a breaking change to the module API
  • This is a breaking change to the ClientAPI
  • This is a breaking change to the SDK API

If the API is breaking, please state below what will break

token.cancel();
let token = spacetimedb::schedule!("100ms", reducer(2));
spacetimedb::schedule!("50ms", do_cancel(token));
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm just creating wider margins here so the test isn't so fragile when the runner is busy.

@jdetter jdetter requested review from Centril and gefjon July 20, 2023 04:09
@jdetter jdetter merged commit 007fd15 into master Jul 20, 2023
4 checks passed
cloutiertyler pushed a commit that referenced this pull request Aug 1, 2023
Co-authored-by: Boppy <no-reply@boppygames.gg>
cloutiertyler pushed a commit that referenced this pull request Aug 1, 2023
Co-authored-by: Boppy <no-reply@boppygames.gg>
@cloutiertyler cloutiertyler deleted the jdetter/fix-fragile-smoketest branch August 1, 2023 21:53
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