Skip to content

Commit 644bed9

Browse files
committed
Merge remote-tracking branch 'origin/retry_and_improved_status_support' into retry_and_improved_status_support
2 parents 117b811 + a81cb49 commit 644bed9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

operator-framework/src/test/java/com/github/containersolutions/operator/ConcurrencyIT.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ public void manyResourcesGetCreatedUpdatedAndDeleted() {
6363
log.info("Updating {} resources", NUMBER_OF_RESOURCES_UPDATED);
6464
// update some resources
6565
for (int i = 0; i < NUMBER_OF_RESOURCES_UPDATED; i++) {
66-
TestCustomResource tcr = integrationTest.createTestCustomResource(String.valueOf(i));
66+
TestCustomResource tcr = (TestCustomResource) integrationTest.getCrOperations()
67+
.inNamespace(TEST_NAMESPACE)
68+
.withName(IntegrationTestSupport.TEST_CUSTOM_RESOURCE_PREFIX + i)
69+
.get();
6770
tcr.getSpec().setValue(i + UPDATED_SUFFIX);
6871
integrationTest.getCrOperations().inNamespace(TEST_NAMESPACE).createOrReplace(tcr);
6972
}

0 commit comments

Comments
 (0)