Skip to content

Commit b8b6612

Browse files
committed
add comment why the manual forced cleanup was done
1 parent 950fe50 commit b8b6612

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

operator/src/test/java/it/aboutbits/postgresql/crd/role/RoleReconcilerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ void createRole_withMissingClusterConnection_setsPending() {
269269
);
270270
assertThat(role.getStatus().getLastPhaseTransitionTime()).isNull();
271271

272-
// Cleanup manually
272+
// We have to manually clean up this as the RoleController#cleanup will always fail as the ClusterConnection does not exist
273273
kubernetesClient.resource(role).delete();
274274
role.getMetadata().setFinalizers(null);
275275
role.getMetadata().setResourceVersion(null);

0 commit comments

Comments
 (0)