Skip to content

Commit 7b35590

Browse files
committed
SynchronizeStandaloneInstanceTest - longer timeout for slow test hosts
Signed-off-by: David Matějček <[email protected]>
1 parent 643ca19 commit 7b35590

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

appserver/tests/application/src/test/java/org/glassfish/main/test/app/synchronize/SynchronizeStandaloneInstanceTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023,2024 Contributors to the Eclipse Foundation.
2+
* Copyright (c) 2023, 2025 Contributors to the Eclipse Foundation.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -74,7 +74,8 @@ public static void deleteInstance() {
7474

7575
@Test
7676
public void testSynchronization() {
77-
assertThat(ASADMIN.exec("start-instance", INSTANCE_NAME), asadminOK());
77+
// Longer timeout for the synchronization
78+
assertThat(ASADMIN.exec(120_000, "start-instance", INSTANCE_NAME), asadminOK());
7879
}
7980

8081
private static File createDeployment() {

0 commit comments

Comments
 (0)