File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
tests/multipleBackend/routes Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,11 @@ const testMd = {
8484 } ,
8585} ;
8686
87+ // S3_TESTVAL_OWNERCANONICALID variable is used by Integration that runs E2E tests with real Vault account.
88+ if ( process . env . S3_TESTVAL_OWNERCANONICALID ) {
89+ testMd [ 'owner-id' ] = process . env . S3_TESTVAL_OWNERCANONICALID ;
90+ }
91+
8792const nonVersionedTestMd = {
8893 'owner-display-name' : 'Bart' ,
8994 'owner-id' : ( '79a59df900b949e55d96a1e698fbaced' +
@@ -168,6 +173,7 @@ const describeIfLocationAws = hasLocation(awsLocation) ? describe : describe.ski
168173const itIfLocationAwsSkipCeph = hasLocation ( awsLocation ) ? itSkipCeph : it . skip ;
169174const itIfLocationAws = hasLocation ( awsLocation ) ? it : it . skip ;
170175const itIfLocationAzure = hasLocation ( azureLocation ) ? it : it . skip ;
176+ const itSkipS3C = process . env . S3_END_TO_END ? it . skip : it ;
171177
172178// FIXME: does not pass for Ceph, see CLDSRV-443
173179describeSkipIfNotMultipleOrCeph ( 'backbeat DELETE routes' , ( ) => {
@@ -2647,7 +2653,8 @@ describe('backbeat routes', () => {
26472653 done ( ) ;
26482654 } ) ;
26492655 } ) ;
2650- it ( 'should skip batch delete of a non-existent location' , done => {
2656+ // TODO: unskip test when S3C-9123 is fixed
2657+ itSkipS3C ( 'should skip batch delete of a non-existent location' , done => {
26512658 async . series ( [
26522659 done => {
26532660 const options = {
You can’t perform that action at this time.
0 commit comments