From faad18a8377ad4d1b8dc8ce7764058a983bb7cc3 Mon Sep 17 00:00:00 2001 From: csviri Date: Fri, 21 Oct 2022 10:59:46 +0200 Subject: [PATCH 1/2] chore: update to fabric8 6.2.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3eea4c1e68..f81b43b051 100644 --- a/pom.xml +++ b/pom.xml @@ -43,7 +43,7 @@ https://sonarcloud.io 5.9.1 - 6.1.1 + 6.2.0 1.7.36 2.19.0 4.8.0 From 36e00c38c99c314aeeff6128add1997887ce4a4c Mon Sep 17 00:00:00 2001 From: csviri Date: Fri, 21 Oct 2022 11:25:46 +0200 Subject: [PATCH 2/2] remove of not valid test anymore --- .../operator/MultiVersionCRDIT.java | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/operator-framework/src/test/java/io/javaoperatorsdk/operator/MultiVersionCRDIT.java b/operator-framework/src/test/java/io/javaoperatorsdk/operator/MultiVersionCRDIT.java index 65bf839ff4..3636542270 100644 --- a/operator-framework/src/test/java/io/javaoperatorsdk/operator/MultiVersionCRDIT.java +++ b/operator-framework/src/test/java/io/javaoperatorsdk/operator/MultiVersionCRDIT.java @@ -51,31 +51,6 @@ void multipleCRDVersions() { }); } - @Test - void invalidEventsDoesNotBreakEventHandling() { - var v2res = createTestResourceV2WithLabel(); - v2res.getMetadata().getLabels().clear(); - operator.create(v2res); - var v1res = createTestResourceV1WithoutLabel(); - operator.create(v1res); - - await() - .atMost(Duration.ofSeconds(2)) - .pollInterval(Duration.ofMillis(50)) - .untilAsserted(() -> { - var crV1Now = operator.get(MultiVersionCRDTestCustomResource1.class, CR_V1_NAME); - assertThat(crV1Now.getStatus()).isNotNull(); - assertThat(crV1Now.getStatus().getReconciledBy()) - .containsExactly(MultiVersionCRDTestReconciler1.class.getSimpleName()); - }); - assertThat( - operator - .get(MultiVersionCRDTestCustomResource2.class, CR_V2_NAME) - .getStatus()) - .isNull(); - } - - MultiVersionCRDTestCustomResource1 createTestResourceV1WithoutLabel() { MultiVersionCRDTestCustomResource1 cr = new MultiVersionCRDTestCustomResource1(); cr.setMetadata(new ObjectMeta());