From 2260806da78f7f1a16a3618360bba098115ffc58 Mon Sep 17 00:00:00 2001 From: shsun_pure Date: Mon, 29 Jul 2024 22:51:14 +0000 Subject: [PATCH] skip px sa token refresh integration test if version prior to 24.2 Signed-off-by: shsun_pure --- test/integration_test/basic_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/integration_test/basic_test.go b/test/integration_test/basic_test.go index f5620e698..af5939daa 100644 --- a/test/integration_test/basic_test.go +++ b/test/integration_test/basic_test.go @@ -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, }, {