Skip to content

Commit

Permalink
BC-7239 - test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Jun 21, 2024
1 parent 6294fd1 commit 0369367
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/de/svs/doido/mongo/ConfigmapApiTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ public void before() {
public void after() {
final Namespace namespace1 = new NamespaceBuilder().withNewMetadata().withName("namespaceA").and().build();

// Set up Kubernetes so that our "pretend" namespaces are deleted
client.namespaces().resource(namespace1).delete();
for ( ConfigMap cfg : client.configMaps().list().getItems()) {
for ( ConfigMap cfg : client.configMaps().inNamespace("namespaceA").list().getItems()) {
client.configMaps().resource(cfg).delete();
}
// Set up Kubernetes so that our "pretend" namespaces are deleted
client.namespaces().resource(namespace1).delete();
}


Expand Down

0 comments on commit 0369367

Please sign in to comment.