Skip to content

Commit b7800f7

Browse files
committed
Update logs() integration test javadoc and version gate
LogCache has been available since cf-deployment v3.0.0 (July 2018). Lower the version gate from PCF_4_v2 to PCF_2_3 and update the javadoc to reflect that the test now exercises the LogCache-backed path.
1 parent ca705fb commit b7800f7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

integration-test/src/test/java/org/cloudfoundry/operations/ApplicationsTest.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,11 +499,13 @@ public void listTasks() throws IOException {
499499
}
500500

501501
/**
502-
* Doppler was dropped in PCF 4.x in favor of logcache. This test does not work
503-
* on TAS 4.x.
502+
* Exercise the LogCache client via {@code logs(ApplicationLogsRequest)}.
503+
* LogCache has been a default cf-deployment component since v3.0.0 (July 2018),
504+
* with the {@code /api/v1/read} endpoint available since log-cache-release v2.0.0
505+
* (October 2018).
504506
*/
505507
@Test
506-
@IfCloudFoundryVersion(lessThan = CloudFoundryVersion.PCF_4_v2)
508+
@IfCloudFoundryVersion(greaterThanOrEqualTo = CloudFoundryVersion.PCF_2_3)
507509
public void logs() throws IOException {
508510
String applicationName = this.nameFactory.getApplicationName();
509511

0 commit comments

Comments
 (0)