@@ -57,7 +57,6 @@ describe("Deployment happy path", async () => {
5757 location : { type : LocationType . Local } ,
5858 deployment : {
5959 graph : {
60- parallelTestApp : true ,
6160 testApp : {
6261 name : "comp-1-test-app-name" ,
6362 id : "comp-1-test-app" ,
@@ -68,7 +67,8 @@ describe("Deployment happy path", async () => {
6867 } ,
6968 logTailing : {
7069 enabled : true
71- }
70+ } ,
71+ parallel : true
7272 } ,
7373 components : [
7474 {
@@ -499,8 +499,7 @@ describe("deployGraph - deployment ordering and concurrency", async () => {
499499 const deployStub = sinon . stub ( ) . callsFake ( async ( _cfg , _ws , spec ) => `sha-${ spec . id } ` )
500500 const SuiteHandler = await loadWithStub ( deployStub )
501501 const graph = {
502- parallelTestApp : true ,
503- testApp : makeSpec ( "test-app" ) ,
502+ testApp : makeSpec ( "test-app" , { parallel : true } ) ,
504503 components : [ makeSpec ( "comp-a" ) , makeSpec ( "comp-b" ) ]
505504 }
506505 const result = await SuiteHandler . deployGraph ( config , workspace , testSuiteId , graph , namespace )
@@ -522,8 +521,7 @@ describe("deployGraph - deployment ordering and concurrency", async () => {
522521 } )
523522 const SuiteHandler = await loadWithStub ( deployStub )
524523 const graph = {
525- parallelTestApp : true ,
526- testApp : makeSpec ( "testApp" ) ,
524+ testApp : makeSpec ( "testApp" , { parallel : true } ) ,
527525 components : [ makeSpec ( "B" , { parallel : true } ) , makeSpec ( "C" , { parallel : true } ) ]
528526 }
529527 const deployPromise = SuiteHandler . deployGraph ( config , workspace , testSuiteId , graph , namespace )
@@ -552,8 +550,7 @@ describe("deployGraph - deployment ordering and concurrency", async () => {
552550 const SuiteHandler = await loadWithStub ( deployStub )
553551 // B is parallel:true, C has no parallel flag — same dependency level, so neither waits on the other
554552 const graph = {
555- parallelTestApp : true ,
556- testApp : makeSpec ( "testApp" ) ,
553+ testApp : makeSpec ( "testApp" , { parallel : true } ) ,
557554 components : [ makeSpec ( "B" , { parallel : true } ) , makeSpec ( "C" ) ]
558555 }
559556 const deployPromise = SuiteHandler . deployGraph ( config , workspace , testSuiteId , graph , namespace )
@@ -583,8 +580,7 @@ describe("deployGraph - deployment ordering and concurrency", async () => {
583580 } )
584581 const SuiteHandler = await loadWithStub ( deployStub )
585582 const graph = {
586- parallelTestApp : true ,
587- testApp : makeSpec ( "testApp" ) ,
583+ testApp : makeSpec ( "testApp" , { parallel : true } ) ,
588584 components : [
589585 makeSpec ( "A" ) ,
590586 makeSpec ( "B" , { parallel : true , dependsOn : [ "A" ] } ) ,
@@ -629,8 +625,7 @@ describe("deployGraph - deployment ordering and concurrency", async () => {
629625 } )
630626 const SuiteHandler = await loadWithStub ( deployStub )
631627 const graph = {
632- parallelTestApp : true ,
633- testApp : makeSpec ( "testApp" ) ,
628+ testApp : makeSpec ( "testApp" , { parallel : true } ) ,
634629 components : [ makeSpec ( "A" ) ]
635630 }
636631 const deployPromise = SuiteHandler . deployGraph ( config , workspace , testSuiteId , graph , namespace )
0 commit comments