-
Notifications
You must be signed in to change notification settings - Fork 183
ci: Aggregate otter tests results for testContainer #21979
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
ci: Aggregate otter tests results for testContainer #21979
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #21979 +/- ##
============================================
+ Coverage 70.89% 70.94% +0.04%
Complexity 24432 24432
============================================
Files 2668 2668
Lines 104410 104336 -74
Branches 10966 10955 -11
============================================
- Hits 74020 74019 -1
+ Misses 26344 26274 -70
+ Partials 4046 4043 -3 see 20 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences |
...nsensus-otter-tests/src/testFixtures/java/org/hiero/otter/fixtures/junit/OtterLifecycle.java
Show resolved
Hide resolved
...nsus-otter-tests/src/testFixtures/java/org/hiero/otter/fixtures/container/ContainerNode.java
Show resolved
Hide resolved
andrewb1269
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review and approve the workflow and build.gradle.kts file.
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
turtle, and container tests Signed-off-by: Roger Barker <[email protected]>
f4b3f5e to
a356ece
Compare
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
|
XTS Dry Run with Otter Tests After Rebase. |
remove deprecated junit_files option and use files Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
testIntegration Signed-off-by: Roger Barker <[email protected]>
lifecycle Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
Turtle Specs Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>

Description
This pull request introduces improvements to how output directories and test artifacts are managed and uploaded for Otter integration and container tests. The changes make the test environments more configurable, ensure logs and reports are better organized per test, and update CI workflows to use the new artifact locations.
Test Environment and Output Directory Enhancements:
outputDirectory()method to theTestEnvironmentinterface and implemented it inContainerTestEnvironment, allowing tests to specify and retrieve their output directories for artifacts. [1] [2]ContainerTestEnvironmentto accept a custom output directory, defaulting tobuild/aggregateTestContainer, and updated constructors accordingly. [1] [2] [3]BaseIntegrationTestclass that sets up a unique output directory for each test run and provides factory methods for creatingTurtleTestEnvironmentandContainerTestEnvironmentinstances with the correct output paths.JUnit Extension and Lifecycle Improvements:
OtterTestExtensionJUnit extension to set up a unique output directory for each test before execution and store it in the extension context, supporting both "turtle" and "container" environments via a factory function. [1] [2] [3]Lifecyclerecord to manage the lifecycle of aTestEnvironmentwithin the JUnit extension context.CI/CD Workflow Updates:
.github/workflows/node-zxc-compile-application-code.yamland.github/workflows/zxc-execute-otter-tests.yamlto use the new aggregated directories, improving log organization and retention. [1] [2] [3]These changes make test output management more robust and flexible, simplify artifact uploads, and ensure that logs and reports are consistently organized per test run.
Related Issue(s)
Closes #21957