We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00dc3a8 commit a81cb49Copy full SHA for a81cb49
operator-framework/src/test/java/com/github/containersolutions/operator/ConcurrencyIT.java
@@ -63,7 +63,10 @@ public void manyResourcesGetCreatedUpdatedAndDeleted() {
63
log.info("Updating {} resources", NUMBER_OF_RESOURCES_UPDATED);
64
// update some resources
65
for (int i = 0; i < NUMBER_OF_RESOURCES_UPDATED; i++) {
66
- TestCustomResource tcr = integrationTest.createTestCustomResource(String.valueOf(i));
+ TestCustomResource tcr = (TestCustomResource) integrationTest.getCrOperations()
67
+ .inNamespace(TEST_NAMESPACE)
68
+ .withName(IntegrationTestSupport.TEST_CUSTOM_RESOURCE_PREFIX + i)
69
+ .get();
70
tcr.getSpec().setValue(i + UPDATED_SUFFIX);
71
integrationTest.getCrOperations().inNamespace(TEST_NAMESPACE).createOrReplace(tcr);
72
}
0 commit comments