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
…1616)

Signed-off-by: shsun_pure <shsun@purestorage.com>
Co-authored-by: shsun_pure <shsun@purestorage.com>
  • Loading branch information
ssz1997 and shsun_pure authored Jul 30, 2024
1 parent 28cc6a7 commit 327f7ef
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 327f7ef

Please sign in to comment.