Skip to content

Commit

Permalink
handle blank TTL
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG committed Oct 25, 2023
1 parent a77f87d commit 91296c7
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions integration-tests/ccip-tests/testsetups/ccip.go
Original file line number Diff line number Diff line change
Expand Up @@ -653,14 +653,15 @@ func CCIPDefaultTestSetUp(
LocalCluster: local,
}
} else {
envConfig := &environment.Config{
NamespacePrefix: envName,
Test: t,
}
if inputs.EnvInput.TTL != nil {
envConfig.TTL = inputs.EnvInput.TTL.Duration()
}
// deploy the env if configureCLNode is true
k8Env = DeployEnvironments(
t,
&environment.Config{
TTL: inputs.EnvInput.TTL.Duration(),
NamespacePrefix: envName,
Test: t,
}, inputs)
k8Env = DeployEnvironments(t, envConfig, inputs)
ccipEnv = &actions.CCIPTestEnv{K8Env: k8Env}
}

Expand Down

0 comments on commit 91296c7

Please sign in to comment.