提交 6536c0d6 编写于 作者: I imod

use the unconditional set instead of compareAndSet

上级 193173f5
......@@ -168,7 +168,7 @@ public class SurefireArchiver extends TestFailureDetector {
// intercept that (or otherwise build will be marked as failure)
if(failCount>0) {
markBuildAsSuccess(error,build.getMavenBuildInformation());
hasTestFailures.compareAndSet(false, true);
hasTestFailures.set(true);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册