Skip to content

Commit

Permalink
Polish boolean checking in test cases and dashboard (alibaba#1664)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeineLiang authored and mastertiller committed Aug 20, 2020
1 parent c84cfa6 commit 508dffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void testPaceController_timeout() throws InterruptedException {
public void run() {
boolean pass = paceController.canPass(node, 1);

if (pass == true) {
if (pass) {
passcount.incrementAndGet();
} else {
blockcount.incrementAndGet();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void run() {
try {
e1 = SphU.entry(name);

if (slow == true) {
if (slow) {
TimeUnit.MILLISECONDS.sleep(3000);
}

Expand Down

0 comments on commit 508dffe

Please sign in to comment.