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

Manage integration tests with GitHub Actions (#2952) #2996

Merged
merged 1 commit into from
May 30, 2024

Conversation

jamshale
Copy link
Contributor

@jamshale jamshale commented May 27, 2024

This changes automatic integration testing to have two levels. One will be run on PR's @PR and another to run once daily, manually triggered or during release PR's @Release. Each test takes, on average, just over one minute. The PR tests were scoped down slightly to 35 tests. Which take ~40 minutes. Most of the tests not running on PR's are doing mediation and multi-tenancy tests on basic connection and issuance tests, because they should be covered by the revocation tests. Also some issuance tests were basically being covered twice.

I'm very open to scoping these PR tests even further down. Right now the connections tests are testing a lot of different configurations and this might be unlikely to be effected by many PR's. Also the endorsement tests are a bit flakier than other tests and might not be needed for PR's.

Basically we should only have a bare minimum of tests on PR's because any problems should be noticed via the daily tests and the release tests. If testing all the different connection configurations wasn't needed for PR's we might be able to get this down to 20 tests (~20mins).

There is 62 tests for the Release tag. Increased slight from the old GHA tag.
Added a TODO tag to a couple failing tests.

@jamshale jamshale marked this pull request as ready for review May 28, 2024 17:41
@jamshale jamshale requested a review from ianco May 29, 2024 19:59
ianco
ianco previously approved these changes May 29, 2024
Copy link
Member

@ianco ianco left a comment

Choose a reason for hiding this comment

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

Looks good to me. I agree we can probably scope down the @PR tests even further but this is a good start, gives us the framework, and we can always move tags around on these tests later on ...

Signed-off-by: jamshale <jamiehalebc@gmail.com>
Copy link

sonarcloud bot commented May 30, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@jamshale
Copy link
Contributor Author

@ianco I rebased to fix a merge conflict and need re-approval, please.

@jamshale jamshale merged commit 955c1d0 into hyperledger:main May 30, 2024
8 checks passed
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.

2 participants