@@ -146,6 +146,10 @@ public static void setup() throws IOException, InterruptedException, ParserConfi
146146 createLegacyFlow ("legacy" , codeFormat , dataFormat , flowType );
147147 });
148148
149+ allCombos ((codeFormat , dataFormat , flowType ) -> {
150+ createFlow ("has a space " , codeFormat , dataFormat , flowType , null );
151+ });
152+
149153 flowManager = new FlowManager (getHubConfig ());
150154 List <String > legacyFlows = flowManager .getLegacyFlows ();
151155 assertEquals (8 , legacyFlows .size (), String .join ("\n " , legacyFlows ));
@@ -214,6 +218,30 @@ public List<DynamicTest> generateTests() throws InterruptedException, ParserConf
214218 });
215219
216220
221+ allCombos ((codeFormat , dataFormat , flowType ) -> {
222+ String prefix = "has a space " ;
223+ String flowName = getFlowName (prefix , codeFormat , dataFormat , flowType );
224+ if (flowType .equals (FlowType .INPUT )) {
225+ tests .add (DynamicTest .dynamicTest (flowName + " MLCP" , () -> {
226+ Map <String , Object > options = new HashMap <>();
227+ FinalCounts finalCounts = new FinalCounts (1 , 0 , 2 , 1 , 0 , 0 , 1 , 0 , 0 , 0 , "FINISHED" );
228+ testInputFlowViaMlcp (prefix , "" , stagingClient , codeFormat , dataFormat , options , finalCounts );
229+ }));
230+ tests .add (DynamicTest .dynamicTest (flowName + " REST" , () -> {
231+ Map <String , Object > options = new HashMap <>();
232+ FinalCounts finalCounts = new FinalCounts (1 , 0 , 2 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , "FINISHED" );
233+ testInputFlowViaREST (prefix , "" , codeFormat , dataFormat , options , finalCounts );
234+ }));
235+ }
236+ else {
237+ Map <String , Object > options = new HashMap <>();
238+ tests .add (DynamicTest .dynamicTest (flowName + " wait" , () -> {
239+ FinalCounts finalCounts = new FinalCounts (TEST_SIZE , TEST_SIZE + 1 , TEST_SIZE + 1 , 1 , TEST_SIZE , 0 , TEST_SIZE , 0 , TEST_SIZE /BATCH_SIZE , 0 , "FINISHED" );
240+ testHarmonizeFlow (prefix , codeFormat , dataFormat , options , stagingClient , HubConfig .DEFAULT_FINAL_NAME , finalCounts , true );
241+ }));
242+ }
243+ });
244+
217245 allCombos ((codeFormat , dataFormat , flowType ) -> {
218246 String prefix = "1x-legacy" ;
219247 String flowName = getFlowName (prefix , codeFormat , dataFormat , flowType );
0 commit comments