@@ -7,60 +7,65 @@ beforeAll(() => {
77 initSpawnSpy ( WhenStatics . all ) ;
88} ) ;
99
10- test ( "artifacts-reports-dotenv <deploy-image> --needs" , async ( ) => {
10+ test . concurrent ( "artifacts-reports-dotenv <deploy-image> --needs" , async ( ) => {
1111 const writeStreams = new WriteStreamsMock ( ) ;
1212 await handler ( {
1313 cwd : "tests/test-cases/artifacts-reports-dotenv" ,
1414 job : [ "deploy-image" ] ,
1515 needs : true ,
16+ stateDir : ".gitlab-ci-local-artifacts-reports-dotenv-deploy-image-needs" ,
1617 } , writeStreams ) ;
1718
1819 expect ( writeStreams . stderrLines . join ( "\n" ) ) . not . toMatch ( / F A I L / ) ;
1920} ) ;
2021
21- test ( "artifacts-reports-dotenv <deploy-shell-iso> --needs" , async ( ) => {
22+ test . concurrent ( "artifacts-reports-dotenv <deploy-shell-iso> --needs" , async ( ) => {
2223 const writeStreams = new WriteStreamsMock ( ) ;
2324 await handler ( {
2425 cwd : "tests/test-cases/artifacts-reports-dotenv" ,
2526 job : [ "deploy-shell-iso" ] ,
2627 needs : true ,
2728 shellIsolation : true ,
29+ stateDir : ".gitlab-ci-local-artifacts-reports-dotenv-deploy-shell-iso-needs" ,
2830 } , writeStreams ) ;
2931
3032 expect ( writeStreams . stderrLines . join ( "\n" ) ) . not . toMatch ( / F A I L / ) ;
3133} ) ;
3234
33- test ( "artifacts-reports-dotenv <deploy-shell-noiso> --needs" , async ( ) => {
35+ test . concurrent ( "artifacts-reports-dotenv <deploy-shell-noiso> --needs" , async ( ) => {
3436 const writeStreams = new WriteStreamsMock ( ) ;
3537 await handler ( {
3638 cwd : "tests/test-cases/artifacts-reports-dotenv" ,
3739 job : [ "deploy-shell-noiso" ] ,
3840 needs : true ,
3941 shellIsolation : false ,
42+ stateDir : ".gitlab-ci-local-artifacts-reports-dotenv-deploy-shell-noiso-needs" ,
4043 } , writeStreams ) ;
4144
4245 expect ( writeStreams . stderrLines . join ( "\n" ) ) . not . toMatch ( / F A I L / ) ;
4346} ) ;
4447
45- test ( "artifacts-reports-dotenv <test-multi-dotenv> --needs" , async ( ) => {
48+ test . concurrent ( "artifacts-reports-dotenv <test-multi-dotenv> --needs" , async ( ) => {
4649 const writeStreams = new WriteStreamsMock ( ) ;
4750 await handler ( {
4851 cwd : "tests/test-cases/artifacts-reports-dotenv" ,
4952 job : [ "test-multi-dotenv" ] ,
5053 needs : true ,
5154 file : ".gitlab-ci-issue-1160.yml" ,
55+ stateDir : ".gitlab-ci-local-artifacts-reports-dotenv-test-multi-dotenv-needs" ,
5256 } , writeStreams ) ;
5357
5458 expect ( writeStreams . stderrLines . join ( "\n" ) ) . not . toMatch ( / F A I L / ) ;
5559} ) ;
5660
57- test ( "artifacts-reports-dotenv <test-multi-dotenv-with-missing-file> --needs" , async ( ) => {
61+ test . concurrent ( "artifacts-reports-dotenv <test-multi-dotenv-with-missing-file> --needs" , async ( ) => {
5862 const writeStreams = new WriteStreamsMock ( ) ;
5963 await handler ( {
6064 cwd : "tests/test-cases/artifacts-reports-dotenv" ,
6165 job : [ "test-multi-dotenv-with-missing-file" ] ,
6266 needs : true ,
6367 file : ".gitlab-ci-issue-1160.yml" ,
68+ stateDir : ".gitlab-ci-local-artifacts-reports-dotenv-test-multi-dotenv-with-missing-file-needs" ,
6469 } , writeStreams ) ;
6570
6671 expect ( writeStreams . stderrLines . join ( "\n" ) ) . toContain ( "artifact reports dotenv 'multi4.env' could not be found" ) ;
0 commit comments