Skip to content

Commit

Permalink
Some Jenkins nodes are really slow
Browse files Browse the repository at this point in the history
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
  • Loading branch information
dmatej committed May 3, 2023
1 parent d9cd421 commit 7fba499
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -66,9 +66,9 @@ public class AsadminLoggingITest {
private static final Asadmin ASADMIN = GlassFishTestEnvironment.getAsadmin();

@BeforeAll
public static void fillUpLog() {
public static void fillUpServerLog() {
// Fill up the server log.
AsadminResult result = ASADMIN.exec("restart-domain");
AsadminResult result = ASADMIN.exec(60_000, "restart-domain");
assertThat(result, asadminOK());
}

Expand Down
Expand Up @@ -111,8 +111,8 @@ public void createInstancesTest() {
@Test
@Order(3)
public void startInstancesTest() {
assertThat(ASADMIN.exec(30_000, "start-local-instance", INSTANCE_NAME_1), asadminOK());
assertThat(ASADMIN.exec(30_000, "start-local-instance", INSTANCE_NAME_2), asadminOK());
assertThat(ASADMIN.exec(60_000, "start-local-instance", INSTANCE_NAME_1), asadminOK());
assertThat(ASADMIN.exec(60_000, "start-local-instance", INSTANCE_NAME_2), asadminOK());
}

@Test
Expand Down

0 comments on commit 7fba499

Please sign in to comment.