Skip to content

Fix Hypothesis Tests action timeout #3317

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

Merged
merged 6 commits into from
May 23, 2024

Conversation

teunhoevenaars
Copy link
Contributor

Similar to earlier refactoring of test_auto_layouting I've greatly reduced the scope of test_model_consistency to allow it to complete within an acceptable time. The RuleBasedStateMachine is now confined to generating 5 sequences with each 100 rule-calls

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bug fix
  • Feature
  • Chore (refactoring, formatting, local variables, other cleanup)
  • Documentation content changes

What is the current behavior?

Hypothesis tests always time out: https://github.com/gaphor/gaphor/actions/workflows/hypothesis-test.yml

Issue Number: N/A

What is the new behavior?

Hypothesis test completes in few minutes

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Settings are defined without any decent knowledge of the program and intention of the test. As such, I imagine they need tweaking.

@teunhoevenaars teunhoevenaars changed the title Fix hypothesis task timeout Fix Hypothesis Tests action timeout May 21, 2024
Copy link
Member

@danyeaw danyeaw left a comment

Choose a reason for hiding this comment

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

Thanks @teunhoevenaars! This is another great update to our hypothesis tests.

@danyeaw danyeaw added the chore Maintenance related PR label May 23, 2024
@github-actions github-actions bot added the translation Everything regarding translation, localization, and internationalization label May 23, 2024
@danyeaw danyeaw merged commit f9787a2 into gaphor:main May 23, 2024
@teunhoevenaars teunhoevenaars deleted the fix_hypothesis_task_timeout branch May 23, 2024 18:20
@danyeaw danyeaw removed the translation Everything regarding translation, localization, and internationalization label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance related PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants