Skip to content

Commit 6d050bb

Browse files
committed
Isolate Dev UI tests in devmode ITs
And give them more memory.
1 parent 832b36e commit 6d050bb

File tree

3 files changed

+32
-4
lines changed

3 files changed

+32
-4
lines changed

integration-tests/devmode/pom.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,34 @@
164164
<quarkus.devservices.enabled>false</quarkus.devservices.enabled>
165165
</systemPropertyVariables>
166166
</configuration>
167+
<executions>
168+
<execution>
169+
<id>default-test</id>
170+
<phase>test</phase>
171+
<goals>
172+
<goal>test</goal>
173+
</goals>
174+
<configuration>
175+
<excludes>
176+
<exclude>**/DevUI*.java</exclude>
177+
</excludes>
178+
</configuration>
179+
</execution>
180+
<!-- Isolate Dev UI tests in a specific run to work around memory issues on Semeru -->
181+
<execution>
182+
<id>dev-ui-test</id>
183+
<phase>test</phase>
184+
<goals>
185+
<goal>test</goal>
186+
</goals>
187+
<configuration>
188+
<argLine>-Xmx1536M</argLine>
189+
<includes>
190+
<include>**/DevUI*.java</include>
191+
</includes>
192+
</configuration>
193+
</execution>
194+
</executions>
167195
</plugin>
168196
</plugins>
169197
</build>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
import io.quarkus.devui.tests.DevUIJsonRPCTest;
77
import io.quarkus.test.QuarkusDevModeTest;
88

9-
public class DevConsoleOidcJsonRPCTest extends DevUIJsonRPCTest {
9+
public class DevUIOidcJsonRPCTest extends DevUIJsonRPCTest {
1010

1111
@RegisterExtension
1212
static final QuarkusDevModeTest config = new QuarkusDevModeTest().withEmptyApplication();
1313

14-
public DevConsoleOidcJsonRPCTest() {
14+
public DevUIOidcJsonRPCTest() {
1515
super("quarkus-oidc");
1616
}
1717

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
import io.quarkus.devui.tests.DevUIJsonRPCTest;
1111
import io.quarkus.test.QuarkusDevModeTest;
1212

13-
public class DevConsoleOidcNoDiscoveryJsonRPCTest extends DevUIJsonRPCTest {
13+
public class DevUIOidcNoDiscoveryJsonRPCTest extends DevUIJsonRPCTest {
1414

1515
@RegisterExtension
1616
static final QuarkusDevModeTest config = new QuarkusDevModeTest()
1717
.withApplicationRoot((jar) -> jar.addAsResource(createApplicationProperties(),
1818
"application.properties"));
1919

20-
public DevConsoleOidcNoDiscoveryJsonRPCTest() {
20+
public DevUIOidcNoDiscoveryJsonRPCTest() {
2121
super("quarkus-oidc");
2222
}
2323

0 commit comments

Comments
 (0)