Skip to content

Commit

Permalink
Container base fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-terry committed Feb 9, 2021
1 parent 59af599 commit ed221a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import org.assertj.core.api.Assertions;
import org.junit.Test;

public class TestContainerTest extends TestContainersTestBase {
public class ContainerTest extends ContainerTestBase {

@Test
public void test() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import org.web3j.protocol.http.HttpService;

@SuppressWarnings({"rawtypes", "unchecked"})
public class TestContainersTestBase {
public class ContainerTestBase {
private final Network containerNetwork = Network.SHARED;
private final String besuVersion = "20.10.3";
private final String goQuorumVersion = "21.1";
Expand Down Expand Up @@ -107,6 +107,7 @@ public class TestContainersTestBase {
"-o keys.keyData[0].privateKeyPath=" + tesseraContainerPrivKeyPath,
"-o keys.keyData[0].publicKeyPath=" + tesseraContainerPubKeyPath)
.withExposedPorts(tesseraRestPort)
.withStartupAttempts(5)
.withStartupCheckStrategy(
new MinimumDurationRunningStartupCheckStrategy(Duration.ofSeconds(10)));

Expand Down

0 comments on commit ed221a4

Please sign in to comment.