Skip to content

Commit

Permalink
test: glassfish 3 and 4 not work
Browse files Browse the repository at this point in the history
  • Loading branch information
ReaJason committed Dec 14, 2024
1 parent eba4381 commit 9173695
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 @@ -38,7 +38,7 @@ public class GlassFish3ContainerTest {
@Container
public static final GenericContainer<?> container = new GenericContainer<>(imageName)
.withCopyToContainer(warFile, "/usr/local/glassfish3/glassfish/domains/domain1/autodeploy/app.war")
.waitingFor(Wait.forLogMessage(".*(JMXService|deployed).*", 1))
.waitingFor(Wait.forLogMessage(".*(done|deployed).*", 1))
.withExposedPorts(8080);

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class GlassFish4ContainerTest {
@Container
public static final GenericContainer<?> container = new GenericContainer<>(imageName)
.withCopyToContainer(warFile, "/usr/local/glassfish4/glassfish/domains/domain1/autodeploy/app.war")
.waitingFor(Wait.forLogMessage(".*(JMXService|deployed).*", 1))
.waitingFor(Wait.forLogMessage(".*(done|deployed).*", 1))
.withExposedPorts(8080);

@BeforeAll
Expand Down

0 comments on commit 9173695

Please sign in to comment.