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

optimize: disable SAGA tests #4403

Merged
merged 3 commits into from
Feb 23, 2022

Conversation

wangliang181230
Copy link
Contributor

@wangliang181230 wangliang181230 commented Feb 23, 2022

禁用SAGA单测:

  1. 优化 SAGA 的测试用例,避免失败的测试用例不会记录cost日志。
  2. SAGA 单测:禁用三个非常耗时的单测、以及两个经常出错的单测,并标记FIXME。

另外:

  1. 修复 DefaultCoreTest 偶发的 ConcurrentModificationException

Review建议:

5个单测的代码变更行比较多,但实际上就是包装了一层日志打印,实际的测试代码并没有变更。建议在review界面勾选 Hide whitespace 后再开始review

图片

@codecov-commenter
Copy link

codecov-commenter commented Feb 23, 2022

Codecov Report

Merging #4403 (693ac94) into develop (a286544) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop    #4403   +/-   ##
==========================================
  Coverage      49.00%   49.00%           
- Complexity      3952     3953    +1     
==========================================
  Files            733      733           
  Lines          24978    24978           
  Branches        3092     3091    -1     
==========================================
  Hits           12240    12240           
  Misses         11440    11440           
  Partials        1298     1298           
Impacted Files Coverage Δ
...o/seata/server/coordinator/DefaultCoordinator.java 52.18% <0.00%> (-0.37%) ⬇️
...very/registry/zk/ZookeeperRegisterServiceImpl.java 61.76% <0.00%> (+0.73%) ⬆️

@wangliang181230 wangliang181230 changed the title optimize: disabled SAGA tests optimize: disable SAGA tests Feb 23, 2022
@wangliang181230 wangliang181230 added this to the 1.5.0 milestone Feb 23, 2022
Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@lightClouds917 lightClouds917 left a comment

Choose a reason for hiding this comment

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

LGTM

@wangliang181230 wangliang181230 merged commit d919789 into apache:develop Feb 23, 2022
@wangliang181230 wangliang181230 deleted the disabled-saga-test branch February 23, 2022 03:21
Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

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

LGTM

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.

None yet

5 participants