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

[9.0] Added Pilot tests to integration tests #7570

Merged
merged 7 commits into from
Apr 17, 2024

Conversation

fstagni
Copy link
Contributor

@fstagni fstagni commented Apr 15, 2024

This PR adds a new "pilot" integration test. It basically runs the pilot into yet another container, and runs jobs. In a way, this completes the "full grid" test.

BEGINRELEASENOTES

*test
NEW: added pilot workflow tests to integration_tests

ENDRELEASENOTES

@fstagni fstagni mentioned this pull request Apr 16, 2024
@fstagni fstagni force-pushed the pilot-to-integration-tests branch 2 times, most recently from 0ec0bfe to 01b975f Compare April 16, 2024 10:04
@fstagni fstagni force-pushed the pilot-to-integration-tests branch 3 times, most recently from 23df04a to 7fc80b5 Compare April 16, 2024 11:47
@fstagni fstagni marked this pull request as ready for review April 16, 2024 12:11
@fstagni fstagni requested a review from atsareg as a code owner April 16, 2024 12:11
@fstagni fstagni force-pushed the pilot-to-integration-tests branch 9 times, most recently from 9a01fa2 to 0b5e7d3 Compare April 17, 2024 09:28
Comment on lines -68 to -74
assert list(result["Value"].values())[0] == {
"Owner": "userName",
"Jobs": 2,
"OwnerGroup": "myGroup",
"CPUTime": 86400,
"Priority": 1.0,
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you remove this assert?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because, since with this PR some jobs can be submitted and some pilots run, we can't with certainty know we can expect to see in the DB.

@fstagni fstagni merged commit 37fb39d into DIRACGrid:integration Apr 17, 2024
24 checks passed
@DIRACGridBot DIRACGridBot added the sweep:ignore Prevent sweeping from being ran for this PR label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sweep:ignore Prevent sweeping from being ran for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants