From 4151559c769496cfb4fe76a3f7a35253e7d6acbc Mon Sep 17 00:00:00 2001 From: Daniel Garnier-Moiroux Date: Fri, 4 Jul 2025 16:50:55 +0200 Subject: [PATCH] ci: fix OrganizationsTest#getUsageSummary --- .../java/org/cloudfoundry/client/v3/OrganizationsTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v3/OrganizationsTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v3/OrganizationsTest.java index 6414266486..a1fbd52f3d 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v3/OrganizationsTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v3/OrganizationsTest.java @@ -21,6 +21,7 @@ import java.time.Duration; import org.cloudfoundry.AbstractIntegrationTest; +import org.cloudfoundry.ApplicationUtils; import org.cloudfoundry.CloudFoundryVersion; import org.cloudfoundry.IfCloudFoundryVersion; import org.cloudfoundry.client.CloudFoundryClient; @@ -228,7 +229,9 @@ public void getDefaultIsolationSegment() { @IfCloudFoundryVersion(greaterThanOrEqualTo = CloudFoundryVersion.PCF_2_8) @Test - public void getUsageSummary() { + public void getUsageSummary( + // We inject the testLogCacheApp to ensure there is _some_ usage in the org + @Autowired Mono testLogCacheApp) { this.organizationId .flatMap( organizationId ->