Skip to content

Commit

Permalink
Skip kafka-oauth-keycloak test with GraalVM >= 24.1
Browse files Browse the repository at this point in the history
The test is known to fail for quite some time generating a lot of CI
noise. Let's skip it till
quarkusio#39634 is resolved.
  • Loading branch information
zakkak committed Sep 26, 2024
1 parent f0762e4 commit b20e1fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ public static final class Version implements Comparable<Version> {
public static final Version VERSION_23_0_0 = new Version("GraalVM 23.0.0", "23.0.0", "17", Distribution.GRAALVM);
public static final Version VERSION_23_1_0 = new Version("GraalVM 23.1.0", "23.1.0", "21", Distribution.GRAALVM);
public static final Version VERSION_24_0_0 = new Version("GraalVM 24.0.0", "24.0.0", "22", Distribution.GRAALVM);
public static final Version VERSION_24_1_0 = new Version("GraalVM 24.1.0", "24.1.0", "23", Distribution.GRAALVM);

/**
* The minimum version of GraalVM supported by Quarkus.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
import org.junit.jupiter.api.Test;

import io.quarkus.test.common.QuarkusTestResource;
import io.quarkus.test.junit.DisableIfBuiltWithGraalVMNewerThan;
import io.quarkus.test.junit.GraalVMVersion;
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.common.mapper.TypeRef;

Expand All @@ -20,6 +22,7 @@ public class KafkaOauthTest {
};

@Test
@DisableIfBuiltWithGraalVMNewerThan(GraalVMVersion.GRAALVM_24_1_0) // See https://github.com/quarkusio/quarkus/issues/39634
public void test() {
await().untilAsserted(() -> Assertions.assertEquals(2, get("/kafka").as(TYPE_REF).size()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

public enum GraalVMVersion {
GRAALVM_23_1_0(GraalVM.Version.VERSION_23_1_0),
GRAALVM_24_0_0(GraalVM.Version.VERSION_24_0_0);
GRAALVM_24_0_0(GraalVM.Version.VERSION_24_0_0),
GRAALVM_24_1_0(GraalVM.Version.VERSION_24_1_0);

private final GraalVM.Version version;

Expand Down

0 comments on commit b20e1fa

Please sign in to comment.