diff --git a/tests/ctst/steps/dr/drctl.ts b/tests/ctst/steps/dr/drctl.ts index a29e1db425..7f03a61094 100644 --- a/tests/ctst/steps/dr/drctl.ts +++ b/tests/ctst/steps/dr/drctl.ts @@ -108,7 +108,7 @@ type FailoverConfig = { timeout?: string; sinkKubeconfigPath?: string; sinkKubeconfigData?: string; - sinkZenkoInstance?: string; + sinkZenkoDrInstance?: string; sinkZenkoDrNamespace?: string; }; @@ -117,8 +117,8 @@ type FailbackConfig = { timeout?: string; sinkKubeconfigPath?: string; sinkKubeconfigData?: string; - sinkZenkoInstance?: string; - sinkZenkoNamespace?: string; + sinkZenkoDrInstance?: string; + sinkZenkoDrNamespace?: string; }; type UninstallConfig = { diff --git a/tests/ctst/steps/pra.ts b/tests/ctst/steps/pra.ts index 55edfb6700..c33facef44 100644 --- a/tests/ctst/steps/pra.ts +++ b/tests/ctst/steps/pra.ts @@ -327,6 +327,7 @@ const failoverTimeout = 360000; When ('I request the failover state for the DR', { timeout: failoverTimeout + 2000 }, async function (this: Zenko) { await this.zenkoDrCtl?.failover({ sinkZenkoDrNamespace: 'default', + sinkZenkoDrInstance: 'end2end-pra-sink', wait: true, timeout: `${failoverTimeout.toString()}ms`, }); @@ -335,7 +336,8 @@ When ('I request the failover state for the DR', { timeout: failoverTimeout + 20 const failbackTimeout = 360000; When ('I resume operations for the DR', { timeout: failbackTimeout + 2000 }, async function (this: Zenko) { await this.zenkoDrCtl?.failback({ - sinkZenkoNamespace: 'default', + sinkZenkoDrNamespace: 'default', + sinkZenkoDrInstance: 'end2end-pra-sink', wait: true, timeout: `${failbackTimeout.toString()}ms`, });