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

[Improve][Test] Fix test unstable on ResourceManger and EventReport module #6620

Merged
merged 4 commits into from
Apr 1, 2024

Conversation

Hisoka-X
Copy link
Member

Purpose of this pull request

This PR try to reduce the frequency of test failures of testApplyResourceWithRandomResult. We test it in 5 times. This change will make sure the test more stable.
image

Does this PR introduce any user-facing change?

no

How was this patch tested?

exist test.

Check list

Comment on lines +251 to +252
|| s.contains("OkHttp ConnectionPool")
|| s.startsWith("http-report-event-scheduler")
Copy link
Member Author

Choose a reason for hiding this comment

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

Come from #6419 cc @hailin0

Copy link
Member

Choose a reason for hiding this comment

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

good!

@@ -556,7 +556,7 @@ jobs:
- name: run seatunnel zeta integration test
if: needs.changes.outputs.api == 'true'
run: |
./mvnw -T 1 -B verify -DskipUT=true -DskipIT=false -D"license.skipAddThirdParty"=true --no-snapshot-updates -pl :connector-seatunnel-e2e-base -am -Pci
./mvnw -T 1 -B verify -DskipUT=true -DskipIT=false -D"license.skipAddThirdParty"=true --no-snapshot-updates -pl :connector-seatunnel-e2e-base,:connector-console-seatunnel-e2e -am -Pci
Copy link
Member Author

Choose a reason for hiding this comment

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

Missed test of :connector-console-seatunnel-e2e when api changed. This is why thread check passed in #6419

@Hisoka-X Hisoka-X changed the title [Improve][Test] Reduce the frequency of test failures of testApplyResourceWithRandomResult [Improve][Test] Fix test unstable on ResourceManger and EventReport module Mar 30, 2024
@EricJoy2048 EricJoy2048 merged commit fd2a57d into apache:dev Apr 1, 2024
6 checks passed
@Hisoka-X Hisoka-X deleted the stable-resource-manager-test branch April 1, 2024 10:23
chaorongzhi pushed a commit to chaorongzhi/seatunnel that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants