Minor test changes
Changed Thread.sleep() to TimeUnit.SECONDS.sleep()
This commit is contained in:
parent
b2082925d5
commit
9362e245ee
@ -35,6 +35,7 @@ import java.nio.file.Paths;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import static org.apache.commons.io.FileUtils.copyDirectory;
|
||||
import static org.hamcrest.MatcherAssert.assertThat;
|
||||
@ -92,7 +93,7 @@ public class HTTPVaultConnectorTest {
|
||||
/* Initialize Vault */
|
||||
VaultConfiguration config = initializeVault(isTls);
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
TimeUnit.SECONDS.sleep(1);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user