Skip to content

Commit 6fca0ee

Browse files
committed
[CI] Update DataFlowAT skip streamLifecycle on SCDF 2.10.x w/ CF
1 parent eb7960d commit 6fca0ee

File tree

1 file changed

+7
-2
lines changed
  • src/test/java/org/springframework/cloud/dataflow/acceptance/test

1 file changed

+7
-2
lines changed

src/test/java/org/springframework/cloud/dataflow/acceptance/test/DataFlowAT.java

+7-2
Original file line numberDiff line numberDiff line change
@@ -868,9 +868,14 @@ public void streamAppCrossVersion() {
868868
@Tag("group2")
869869
@Tag("smoke")
870870
public void streamLifecycle() {
871+
// Skip for SCDF 2.10.x on CloudFoundry due to '500 No Body' response
872+
if (runtimeApps.dataflowServerVersionLowerThan("2.11.0") &&
873+
runtimeApps.getPlatformType().equals(RuntimeApplicationHelper.CLOUDFOUNDRY_PLATFORM_TYPE)) {
874+
logger.warn("Skipping streamLifecycle() test due to: 'SCDF 2.10.x on CloudFoundry w/ 500 [No Body] response'");
875+
return;
876+
}
871877
logger.info("stream-lifecycle:start");
872-
streamLifecycleHelper(1, s -> {
873-
});
878+
streamLifecycleHelper(1, s -> { });
874879
logger.info("stream-lifecycle:end");
875880
}
876881

0 commit comments

Comments
 (0)