From 401851c8de5c491d113e5252728c8e2bc8d8878d Mon Sep 17 00:00:00 2001 From: Shawn Sun <859005086@qq.com> Date: Fri, 31 May 2024 17:06:39 +0800 Subject: [PATCH] fixtest --- api/pkg/apis/v1alpha1/providers/states/k8s/k8s_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/pkg/apis/v1alpha1/providers/states/k8s/k8s_test.go b/api/pkg/apis/v1alpha1/providers/states/k8s/k8s_test.go index 3b1adf136..643c7e18d 100644 --- a/api/pkg/apis/v1alpha1/providers/states/k8s/k8s_test.go +++ b/api/pkg/apis/v1alpha1/providers/states/k8s/k8s_test.go @@ -598,7 +598,7 @@ func TestCatalogFieldFilter(t *testing.T) { } func TestCatalogStatusFilter(t *testing.T) { - testK8s := "true" + testK8s := os.Getenv("TEST_K8S_STATE") if testK8s == "" { t.Skip("Skipping because TEST_K8S_STATE enviornment variable is not set") }