Skip to content

Commit

Permalink
Skip test for OutOfServiceTaint remediation if out-of-service taint i…
Browse files Browse the repository at this point in the history
…s not supporeted
  • Loading branch information
k-keiichi-rh committed Jan 6, 2024
1 parent a845bbb commit d5b4d34
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions e2e/self_node_remediation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const (
nodeExecTimeout = 20 * time.Second
reconnectInterval = 300 * time.Second
skipLogsEnvVarName = "SKIP_LOG_VERIFICATION"
skipOOSREnvVarName = "SKIP_OOST_REMEDIATION_VERIFICATION"
)

var _ = Describe("Self Node Remediation E2E", func() {
Expand Down Expand Up @@ -127,6 +128,9 @@ var _ = Describe("Self Node Remediation E2E", func() {
var oldPodCreationTime time.Time

BeforeEach(func() {
if _, isExist := os.LookupEnv(skipOOSREnvVarName); isExist {
Skip("Skip this test due to out-of-service taint not supported")
}
remediationStrategy = v1alpha1.OutOfServiceTaintRemediationStrategy
oldPodCreationTime = findSnrPod(node).CreationTimestamp.Time
})
Expand Down

0 comments on commit d5b4d34

Please sign in to comment.