File tree Expand file tree Collapse file tree 2 files changed +1
-26
lines changed
operator-framework/src/test/java/io/javaoperatorsdk/operator Expand file tree Collapse file tree 2 files changed +1
-26
lines changed Original file line number Diff line number Diff line change @@ -51,31 +51,6 @@ void multipleCRDVersions() {
5151 });
5252 }
5353
54- @ Test
55- void invalidEventsDoesNotBreakEventHandling () {
56- var v2res = createTestResourceV2WithLabel ();
57- v2res .getMetadata ().getLabels ().clear ();
58- operator .create (v2res );
59- var v1res = createTestResourceV1WithoutLabel ();
60- operator .create (v1res );
61-
62- await ()
63- .atMost (Duration .ofSeconds (2 ))
64- .pollInterval (Duration .ofMillis (50 ))
65- .untilAsserted (() -> {
66- var crV1Now = operator .get (MultiVersionCRDTestCustomResource1 .class , CR_V1_NAME );
67- assertThat (crV1Now .getStatus ()).isNotNull ();
68- assertThat (crV1Now .getStatus ().getReconciledBy ())
69- .containsExactly (MultiVersionCRDTestReconciler1 .class .getSimpleName ());
70- });
71- assertThat (
72- operator
73- .get (MultiVersionCRDTestCustomResource2 .class , CR_V2_NAME )
74- .getStatus ())
75- .isNull ();
76- }
77-
78-
7954 MultiVersionCRDTestCustomResource1 createTestResourceV1WithoutLabel () {
8055 MultiVersionCRDTestCustomResource1 cr = new MultiVersionCRDTestCustomResource1 ();
8156 cr .setMetadata (new ObjectMeta ());
Original file line number Diff line number Diff line change 4343 <sonar .host.url>https://sonarcloud.io</sonar .host.url>
4444
4545 <junit .version>5.9.1</junit .version>
46- <fabric8-client .version>6.1.1 </fabric8-client .version>
46+ <fabric8-client .version>6.2.0 </fabric8-client .version>
4747 <slf4j .version>1.7.36</slf4j .version>
4848 <log4j .version>2.19.0</log4j .version>
4949 <mokito .version>4.8.0</mokito .version>
You can’t perform that action at this time.
0 commit comments