@@ -3,7 +3,6 @@ import Zenko from 'world/Zenko';
33import ZenkoDrctl from './dr/drctl' ;
44import {
55 createSecret ,
6- deletePodsByLabel ,
76 displayCRStatus ,
87 getDRSink ,
98 getDRSource ,
@@ -74,7 +73,7 @@ async function installPRA(world: Zenko, sinkS3Endpoint = 'http://s3.zenko.local'
7473 prometheusDisableTls : true ,
7574 forceRotateServiceCredentials : world . praInstallCount > 0 ,
7675 ...kafkaExternalIpOption ,
77- timeout
76+ timeout,
7877 } ) ;
7978}
8079
@@ -165,15 +164,13 @@ async function waitForPhase(
165164}
166165
167166const installTimeout = 360000 ;
168- Given ( 'a DR installed' , { timeout : installTimeout } , async function ( this : Zenko ) {
167+ Given ( 'a DR installed' , { timeout : installTimeout + 2000 } , async function ( this : Zenko ) {
169168 Identity . useIdentity ( IdentityEnum . ACCOUNT , Zenko . sites [ 'source' ] . accountName ) ;
170169 const credentials = Identity . getCurrentCredentials ( ) ;
171170 await createSecret ( this , 'drctl-s3-creds' , {
172171 accessKey : Buffer . from ( credentials . accessKeyId ) . toString ( 'base64' ) ,
173172 secretAccessKey : Buffer . from ( credentials . secretAccessKey ) . toString ( 'base64' ) ,
174173 } ) ;
175- await deletePodsByLabel ( this ,
176- 'app.kubernetes.io/name=sorbet-fwd-user-create,app.kubernetes.io/instance=end2end-pra' ) ;
177174 await installPRA ( this , undefined , `${ installTimeout . toString ( ) } ms` ) ;
178175 this . praInstallCount += 1 ;
179176 return ;
0 commit comments