Skip to content
Permalink
Browse files

[SMALLFIX]Use static imports for standard test utilities

pr-link: #9073
change-id: cid-0118e1ce33370376bf4a76c1634776002c430e69
  • Loading branch information...
niruntao authored and alluxio-bot committed May 14, 2019
1 parent 3c02e2d commit 60b1ac698b49b200f6d6581c13e24aad9b716586
Showing with 3 additions and 2 deletions.
  1. +3 −2 core/common/src/test/java/alluxio/retry/ExponentialBackoffRetryTest.java
@@ -11,7 +11,8 @@

package alluxio.retry;

import org.junit.Assert;
import static org.junit.Assert.assertTrue;

import org.junit.Test;

/**
@@ -30,7 +31,7 @@ public void largeRetriesProducePositiveTime() {
for (int i = 0; i < max; i++) {
backoff.setRetryCount(i);
long time = backoff.getSleepTime();
Assert.assertTrue("Time must always be positive: " + time, time > 0);
assertTrue("Time must always be positive: " + time, time > 0);
}
}

0 comments on commit 60b1ac6

Please sign in to comment.
You can’t perform that action at this time.