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

[test] fix flaky test in CI #12017

Merged
merged 4 commits into from
Sep 28, 2022
Merged

[test] fix flaky test in CI #12017

merged 4 commits into from
Sep 28, 2022

Conversation

@zhongjiajie zhongjiajie changed the title [test] fix flaky test in CI [WIP][test] fix flaky test in CI Sep 17, 2022
@codecov-commenter
Copy link

codecov-commenter commented Sep 17, 2022

Codecov Report

Merging #12017 (5bba15a) into dev (9813ded) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev   #12017      +/-   ##
============================================
- Coverage     38.68%   38.66%   -0.02%     
+ Complexity     4050     4009      -41     
============================================
  Files           999     1002       +3     
  Lines         36728    37213     +485     
  Branches       4276     4247      -29     
============================================
+ Hits          14208    14390     +182     
- Misses        20896    21190     +294     
- Partials       1624     1633       +9     
Impacted Files Coverage Δ
...olphinscheduler/plugin/task/dvc/DvcParameters.java 0.00% <0.00%> (-100.00%) ⬇️
...dolphinscheduler/dao/entity/ProcessDefinition.java 23.07% <0.00%> (-33.41%) ⬇️
...lphinscheduler/dao/entity/ProcessTaskRelation.java 0.00% <0.00%> (-8.00%) ⬇️
...erver/master/processor/queue/TaskEventService.java 75.00% <0.00%> (-5.36%) ⬇️
...heduler/api/service/impl/TaskGroupServiceImpl.java 61.30% <0.00%> (-4.45%) ⬇️
...che/dolphinscheduler/alert/AlertSenderService.java 46.00% <0.00%> (-3.65%) ⬇️
...r/api/service/impl/ProcessInstanceServiceImpl.java 57.71% <0.00%> (-3.33%) ⬇️
...uler/api/service/impl/K8SNamespaceServiceImpl.java 66.00% <0.00%> (-2.72%) ⬇️
...nscheduler/api/service/impl/TenantServiceImpl.java 64.17% <0.00%> (-2.21%) ⬇️
...hinscheduler/api/controller/ProjectController.java 66.66% <0.00%> (-2.09%) ⬇️
... and 64 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -0,0 +1 @@
mock-maker-inline
Copy link
Member Author

Choose a reason for hiding this comment

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

paramsMap.put(HttpAlertConstants.NAME_REQUEST_TYPE, "POST");
paramsMap.put(HttpAlertConstants.NAME_HEADER_PARAMS, "{\"Content-Type\":\"application/json\"}");
paramsMap.put(HttpAlertConstants.NAME_BODY_PARAMS, "{\"number\":\"13457654323\"}");
Copy link
Member Author

Choose a reason for hiding this comment

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

remove some sensitive data in UT

@zhongjiajie zhongjiajie changed the title [WIP][test] fix flaky test in CI [test] fix flaky test in CI Sep 28, 2022
@zhongjiajie zhongjiajie marked this pull request as ready for review September 28, 2022 02:02
kezhenxu94
kezhenxu94 previously approved these changes Sep 28, 2022
Copy link
Member

@kezhenxu94 kezhenxu94 left a comment

Choose a reason for hiding this comment

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

@EricGao888 @SbloodyS want to double check?

Copy link
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

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

+1

Copy link
Member

@EricGao888 EricGao888 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@sonarcloud
Copy link

sonarcloud bot commented Sep 28, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

14.3% 14.3% Coverage
0.0% 0.0% Duplication

@zhongjiajie zhongjiajie merged commit ad4f344 into apache:dev Sep 28, 2022
@zhongjiajie zhongjiajie deleted the f-flaky-tests branch September 28, 2022 06:05
@zhongjiajie
Copy link
Member Author

thanks all

fuchanghai pushed a commit to fuchanghai/dolphinscheduler that referenced this pull request Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants