Skip to content

Commit

Permalink
[FLINK-32379][build] Skip archunit tests in java1X-target profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
snuyanzin authored Jun 28, 2023
1 parent af25884 commit 74ae4b2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import com.tngtech.archunit.base.DescribedPredicate;
import com.tngtech.archunit.core.domain.JavaClass;
import com.tngtech.archunit.junit.ArchTag;
import com.tngtech.archunit.junit.ArchTest;
import com.tngtech.archunit.lang.ArchRule;
import com.tngtech.archunit.thirdparty.com.google.common.base.Joiner;
Expand Down Expand Up @@ -57,6 +58,8 @@ private static DescribedPredicate<JavaClass> areEnclosedInPublicClasses() {
}

@ArchTest
@ArchTag(value = "org.apache.flink.testutils.junit.FailsOnJava11")
@ArchTag(value = "org.apache.flink.testutils.junit.FailsOnJava17")
public static final ArchRule CONNECTOR_CLASSES_ONLY_DEPEND_ON_PUBLIC_API =
freeze(
javaClassesThat(resideInAnyPackage(CONNECTOR_PACKAGES))
Expand Down

0 comments on commit 74ae4b2

Please sign in to comment.