File tree 2 files changed +2
-2
lines changed
operator-framework/src/test/java/io/javaoperatorsdk/operator 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ public class DependentSSAMatchingIT {
39
39
o -> o .withFieldManager (CUSTOM_FIELD_MANAGER_NAME ))
40
40
.build ();
41
41
42
-
43
42
@ Test
44
43
void testMatchingAndUpdate () {
44
+ SSAConfigMapDependent .NUMBER_OF_UPDATES .set (0 );
45
45
var resource = extension .create (testResource ());
46
46
47
47
await ().untilAsserted (() -> {
@@ -61,7 +61,6 @@ void testMatchingAndUpdate() {
61
61
.withData (Map .of (ADDITIONAL_KEY , ADDITIONAL_VALUE ))
62
62
.build ();
63
63
64
-
65
64
extension .getKubernetesClient ().configMaps ().resource (cmPatch ).patch (new PatchContext .Builder ()
66
65
.withFieldManager (OTHER_FIELD_MANAGER )
67
66
.withPatchType (PatchType .SERVER_SIDE_APPLY )
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ void cleanup() {
48
48
49
49
@ Test
50
50
void migratesFromLegacyToWorksAndBack () {
51
+ SSAConfigMapDependent .NUMBER_OF_UPDATES .set (0 );
51
52
var legacyOperator = createOperator (client , true );
52
53
DependnetSSACustomResource testResource = reconcileWithLegacyOpetor (legacyOperator );
53
54
You can’t perform that action at this time.
0 commit comments