Skip to content

Commit

Permalink
skip px sa token refresh integration test if version prior to 24.2
Browse files Browse the repository at this point in the history
Signed-off-by: shsun_pure <shsun@purestorage.com>
  • Loading branch information
shsun_pure committed Jul 29, 2024
1 parent 28cc6a7 commit 2260806
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/integration_test/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,13 @@ var testStorageClusterBasicCases = []types.TestCase{
},
},
}),
ShouldSkip: func(tc *types.TestCase) bool {
skip := ci_utils.PxOperatorVersion.LessThan(ci_utils.PxOperatorVer24_2_0)
if skip {
logrus.Info("Skipping BasicInstallWithPxSaTokenRefresh, because PX Operator version is less than 24.2.0")
}
return skip
},
TestFunc: BasicInstallWithPxSaTokenRefresh,
},
{
Expand Down

0 comments on commit 2260806

Please sign in to comment.