Skip to content

Commit 65bbab0

Browse files
committed
Disable failing test on jdk 25
1 parent 6cd4b90 commit 65bbab0

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

fault-tolerance/fault-tolerance/src/test/java/io/helidon/faulttolerance/BulkheadMetricsTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
import io.helidon.testing.junit5.Testing;
3030

3131
import org.junit.jupiter.api.Test;
32+
import org.junit.jupiter.api.condition.DisabledOnJre;
33+
import org.junit.jupiter.api.condition.JRE;
3234

3335
import static io.helidon.faulttolerance.Bulkhead.FT_BULKHEAD_CALLS_TOTAL;
3436
import static io.helidon.faulttolerance.Bulkhead.FT_BULKHEAD_EXECUTIONSREJECTED;
@@ -42,6 +44,7 @@
4244
import static org.junit.jupiter.api.Assertions.fail;
4345

4446
@Testing.Test
47+
@DisabledOnJre(JRE.OTHER)
4548
class BulkheadMetricsTest extends BulkheadBaseTest {
4649

4750
@Test

health/health-checks/src/test/java/io/helidon/health/checks/MemoryHealthCheckTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
import org.junit.jupiter.api.BeforeEach;
2525
import org.junit.jupiter.api.Test;
26+
import org.junit.jupiter.api.condition.DisabledOnJre;
27+
import org.junit.jupiter.api.condition.JRE;
2628
import org.junit.jupiter.params.ParameterizedTest;
2729
import org.junit.jupiter.params.provider.Arguments;
2830
import org.junit.jupiter.params.provider.MethodSource;
@@ -32,6 +34,7 @@
3234
import static org.hamcrest.MatcherAssert.assertThat;
3335
import static org.hamcrest.Matchers.hasEntry;
3436

37+
@DisabledOnJre(JRE.OTHER)
3538
class MemoryHealthCheckTest {
3639
private static final long MAX_MEMORY = 10000L;
3740
private static final long TOTAL_MEMORY_START = 5000L;

integrations/microstream/cache/src/test/java/io/helidon/integrations/microstream/cache/CacheTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@
2626
import one.microstream.cache.types.Cache;
2727
import one.microstream.cache.types.CacheConfiguration;
2828
import org.junit.jupiter.api.Test;
29+
import org.junit.jupiter.api.condition.DisabledOnJre;
30+
import org.junit.jupiter.api.condition.JRE;
2931
import org.junit.jupiter.api.io.TempDir;
3032

33+
@DisabledOnJre(JRE.OTHER)
3134
class CacheTest {
3235

3336
@TempDir

integrations/microstream/cdi/src/test/java/io/helidon/integrations/microstream/cdi/MicrostreamExtensionTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,16 @@
2525
import org.junit.jupiter.api.AfterAll;
2626
import org.junit.jupiter.api.BeforeAll;
2727
import org.junit.jupiter.api.Test;
28+
import org.junit.jupiter.api.condition.DisabledOnJre;
29+
import org.junit.jupiter.api.condition.JRE;
2830
import org.junit.jupiter.api.io.TempDir;
2931

3032
import static org.hamcrest.MatcherAssert.assertThat;
3133
import static org.hamcrest.Matchers.equalTo;
3234
import static org.hamcrest.Matchers.notNullValue;
3335

3436
@HelidonTest
37+
@DisabledOnJre(JRE.OTHER)
3538
class MicrostreamExtensionTest {
3639

3740
@TempDir

integrations/microstream/core/src/test/java/io/helidon/integrations/microstream/core/ConfigurationTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,16 @@
2626

2727
import one.microstream.storage.embedded.types.EmbeddedStorageManager;
2828
import org.junit.jupiter.api.Test;
29+
import org.junit.jupiter.api.condition.DisabledOnJre;
30+
import org.junit.jupiter.api.condition.JRE;
2931
import org.junit.jupiter.api.io.TempDir;
3032

3133
import static org.hamcrest.CoreMatchers.is;
3234
import static org.hamcrest.MatcherAssert.assertThat;
3335
import static org.hamcrest.text.StringContainsInOrder.stringContainsInOrder;
3436
import static org.junit.jupiter.api.Assertions.assertNotNull;
3537

38+
@DisabledOnJre(JRE.OTHER)
3639
class ConfigurationTest {
3740

3841
@TempDir

0 commit comments

Comments
 (0)