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

[Develop][Draft] Group test starccm and openfoam to share the same cluster #6321

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from

Conversation

hehe7318
Copy link
Contributor

@hehe7318 hehe7318 commented Jul 2, 2024

Description of changes

  • Group test starccm and openfoam to share the same cluster

Tests

  • Test failed, although use a module level scope fixture, two tests still run in separate clusters
  • By modify logging info and debug, seems tests are running in independent process and running at the same time, although they are in the same py file. They still can not call the same module level fixture.

References

Checklist

  • Make sure you are pointing to the right branch.
  • If you're creating a patch for a branch other than develop add the branch name as prefix in the PR title (e.g. [release-3.6]).
  • Check all commits' messages are clear, describing what and why vs how.
  • Make sure to have added unit tests or integration tests to cover the new/modified code.
  • Check if documentation is impacted by this change.

Please review the guidelines for contributing and Pull Request Instructions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hehe7318 hehe7318 added skip-changelog-update Disables the check that enforces changelog updates in PRs 3.x labels Jul 2, 2024
@hehe7318 hehe7318 requested review from a team as code owners July 2, 2024 14:55
@hehe7318 hehe7318 force-pushed the wip/group-test-starccm-and-openfoam branch 2 times, most recently from 567b916 to 00ca668 Compare July 2, 2024 22:39
hehe7318 added 7 commits July 2, 2024 18:39
- Move duplicated codes to common file
- Modify two tests' config files to make sure they are the same and can be used by both tests
- Add dependencies.install.sh in openfoam testdir as well to avoid failures
- Create a new shared_performance_test_cluster fixture, to group two tests in the same stack
- Now, if openfoam and starccm are not installed, it will not log errors
- Now, when percentage_difference is 0, will log matching baseline message
@hehe7318 hehe7318 force-pushed the wip/group-test-starccm-and-openfoam branch from 00ca668 to 8634530 Compare July 2, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x skip-changelog-update Disables the check that enforces changelog updates in PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant