Skip to content

Commit 848b61c

Browse files
committed
Skip k8s e2e tests by default, enable only in CI
1 parent 1f38183 commit 848b61c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

local/tests/kubernetes_e2e_test.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pipenv --python 3.11
2323
pipenv install --dev
2424

2525
# Run the test.
26+
export K8S_E2E=1
2627
pipenv run python butler.py py_unittest -t core -p service_e2e_test.py
2728

2829

src/clusterfuzz/_internal/tests/core/k8s/k8s_service_e2e_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
from clusterfuzz._internal.tests.test_libs import test_utils
3434

3535

36+
@unittest.skipUnless(os.getenv('K8S_E2E'), 'Skipping Kubernetes E2E tests')
3637
@mock.patch(
3738
'clusterfuzz._internal.metrics.logs.get_logging_config_dict',
3839
return_value={

0 commit comments

Comments
 (0)