File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
operator-framework/src/test/java/io/javaoperatorsdk/operator Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public void ifNoFinalizerPresentFirstAddsTheFinalizerThenExecutesControllerAgain
68
68
* If this would not happen (no optimistic locking on status sub-resource) we could receive and store an event
69
69
* while processing the controller method. But this event would always fail since its resource version is outdated
70
70
* already.
71
- * * /
71
+ */
72
72
@ Test
73
73
public void updateCustomResourceAfterSubResourceChange () {
74
74
integrationTestSupport .teardownIfSuccess (() -> {
@@ -104,7 +104,7 @@ public SubResourceTestCustomResource createTestCustomResource(String id) {
104
104
resource .setMetadata (new ObjectMetaBuilder ()
105
105
.withName ("subresource-" + id )
106
106
.withNamespace (TEST_NAMESPACE )
107
- .withFinalizers ("finalizer" )
107
+ .withFinalizers (SubResourceTestCustomResourceController . CRD_NAME )
108
108
.build ());
109
109
resource .setKind ("SubresourceSample" );
110
110
resource .setSpec (new SubResourceTestCustomResourceSpec ());
You can’t perform that action at this time.
0 commit comments