From ae5cd44e66037377862889f02dadabe8c82e921d Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Fri, 10 Sep 2021 17:28:48 +0300 Subject: [PATCH] Add missing labels assertions on Service --- .../it/kubernetes/KubernetesWithApplicationPropertiesTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/KubernetesWithApplicationPropertiesTest.java b/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/KubernetesWithApplicationPropertiesTest.java index 9b687c6aa3cc3..b26d269d7ded2 100644 --- a/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/KubernetesWithApplicationPropertiesTest.java +++ b/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/KubernetesWithApplicationPropertiesTest.java @@ -88,6 +88,7 @@ public void assertGeneratedResources() throws IOException { assertThat(i).isInstanceOfSatisfying(Service.class, s -> { assertThat(s.getMetadata()).satisfies(m -> { assertThat(m.getNamespace()).isEqualTo("applications"); + assertThat(m.getLabels()).contains(entry("foo", "bar")); }); assertThat(s.getSpec()).satisfies(spec -> {