diff --git a/htap_test.go b/htap_test.go index b18df01cb..8d36f581c 100644 --- a/htap_test.go +++ b/htap_test.go @@ -338,6 +338,7 @@ func TestQueryContextCacheDisabled(t *testing.T) { } func TestHybridTablesE2E(t *testing.T) { + skipOnJenkins(t) if runningOnGithubAction() && !runningOnAWS() { t.Skip("HTAP is enabled only on AWS") } diff --git a/util_test.go b/util_test.go index 0f1009220..0dfb6d104 100644 --- a/util_test.go +++ b/util_test.go @@ -384,3 +384,9 @@ func performContainsTestcase[S comparable](tc tcContains[S], t *testing.T) { t.Errorf("contains failed; arr: %v, e: %v, should be %v but was %v", tc.arr, tc.e, tc.expected, result) } } + +func skipOnJenkins(t *testing.T) { + if os.Getenv("JENKINS_HOME") != "" { + t.Skip("Skipping tests on Jenkins") + } +}