File tree 2 files changed +1
-26
lines changed
operator-framework/src/test/java/io/javaoperatorsdk/operator
2 files changed +1
-26
lines changed Original file line number Diff line number Diff line change @@ -51,31 +51,6 @@ void multipleCRDVersions() {
51
51
});
52
52
}
53
53
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
-
79
54
MultiVersionCRDTestCustomResource1 createTestResourceV1WithoutLabel () {
80
55
MultiVersionCRDTestCustomResource1 cr = new MultiVersionCRDTestCustomResource1 ();
81
56
cr .setMetadata (new ObjectMeta ());
Original file line number Diff line number Diff line change 43
43
<sonar .host.url>https://sonarcloud.io</sonar .host.url>
44
44
45
45
<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>
47
47
<slf4j .version>1.7.36</slf4j .version>
48
48
<log4j .version>2.19.0</log4j .version>
49
49
<mokito .version>4.8.0</mokito .version>
You can’t perform that action at this time.
0 commit comments