feature: Enhance e2e Testing#727
Open
LegendPei wants to merge 11 commits into
Open
Conversation
Author
|
I have run CI in my repository:LegendPei#1 |
Author
|
@slievrly Would you have time to review it? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ⅰ. Describe what this PR did
Introduce an E2E environment compatibility matrix for Seata samples.
This PR adds CI support for running the existing E2E test suite against different environment combinations, including:
linux/amd64andlinux/arm64Main changes include:
E2E_JDK_BASE_IMAGE.E2E_MYSQL_IMAGE.E2E_MYSQL_CONNECTOR_VERSION.E2E_DOCKER_PLATFORM.docker-composewrapper./seata-e2eworking directory and absolute result-file paths.--add-opensoptions for old Spring Boot / Netty based samples running on JDK 17.Ⅱ. Does this pull request fix one issue?
fixes apache/incubator-seata#7178
Ⅲ. Why don't you add test cases (unit test/integration test)?
This PR updates the E2E test infrastructure itself rather than adding new business logic.
The coverage is provided by the GitHub Actions E2E matrix, which reuses the existing Seata samples and E2E cases with different CI-provided runtime configurations.
Ⅳ. Describe how to verify it
The PR can be verified by running the GitHub Actions workflow
Seata E2E Test.The following matrix jobs passed in my fork:
E2E jdk8-mysql57-amd64E2E jdk11-mysql57-amd64E2E jdk17-mysql57-amd64E2E jdk11-mysql80-amd64E2E jdk17-mysql80-amd64E2E jdk17-mysql80-arm64Local verification performed:
cd e2e-test mvn -q -pl e2e-test-builder,e2e-test-runner -am -DskipTests packageⅤ. Special notes for reviews
Fixes apache/incubator-seata#7178