fix: updating test crdtest expectation

closes: #45017

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
Steven Hawkins 2025-12-19 02:15:12 -05:00 committed by GitHub
parent 5b437f0a27
commit 7ecc4c5774
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -107,7 +107,7 @@ public class CRDTest {
.build();
var eMsg = assertThrows(KubernetesClientException.class, () -> client.resource(cr).create()).getMessage();
assertThat(eMsg).contains("spec.update: Invalid value: \"object\": The 'revision' field is required when 'Explicit' strategy is used.");
assertThat(eMsg).contains("The 'revision' field is required when 'Explicit' strategy is used.");
}
private <T extends HasMetadata> void roundTrip(String resourceFile, Class<T> type) {