Skip to content

Commit

Permalink
Fixed the jvm8 build #1157
Browse files Browse the repository at this point in the history
  • Loading branch information
aldettinger committed May 4, 2020
1 parent 7e78125 commit 7fd6ac4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@
package org.apache.camel.quarkus.component.kudu.it;

import io.quarkus.test.junit.NativeImageTest;
import org.junit.jupiter.api.condition.DisabledOnJre;
import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
import org.junit.jupiter.api.condition.JRE;

@NativeImageTest
@EnabledIfSystemProperty(named = "java.runtime.name", matches = ".*OpenJDK.*")
@DisabledOnJre(JRE.JAVA_8)
class KuduIT extends KuduTest {

}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.api.condition.DisabledOnJre;
import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
import org.junit.jupiter.api.condition.JRE;

import static org.apache.camel.quarkus.component.kudu.it.KuduInfrastructureTestHelper.KUDU_AUTHORITY_CONFIG_KEY;
import static org.junit.jupiter.api.Assertions.assertEquals;
Expand All @@ -42,6 +44,7 @@
@QuarkusTest
@TestMethodOrder(OrderAnnotation.class)
@EnabledIfSystemProperty(named = "java.runtime.name", matches = ".*OpenJDK.*")
@DisabledOnJre(JRE.JAVA_8)
class KuduTest {

private static final Logger LOG = Logger.getLogger(KuduTest.class);
Expand Down

0 comments on commit 7fd6ac4

Please sign in to comment.