Skip to content

Commit 34a6143

Browse files
committed
CI:tests: Disable NETPLAN_PARSER_IGNORE_ERRORS by default
It's taking lots of compute time in upstream and downstream CI systems. We still keep it on inside our `autopkgtest.yml` CI test, but turn it off by default otherwise.
1 parent 3b6fea1 commit 34a6143

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/autopkgtest.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,7 @@ jobs:
5454
dch -v "$VER" "Autopkgtest CI testing (Noble)"
5555
- name: Run autopkgtest (incl. build)
5656
run: |
57-
autopkgtest . \
58-
-U --env=DPKG_GENSYMBOLS_CHECK_LEVEL=0 -- lxd autopkgtest/ubuntu/noble/amd64
57+
autopkgtest . -U \
58+
--env=DPKG_GENSYMBOLS_CHECK_LEVEL=0 \
59+
--env=NETPLAN_PARSER_IGNORE_ERRORS=1 \
60+
-- lxd autopkgtest/ubuntu/noble/amd64

tests/integration/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def dedupe(duped_list):
7878

7979
os.environ["NETPLAN_TEST_BACKENDS"] = ",".join(backends)
8080

81-
run_with_ignore_errors = os.environ.get("NETPLAN_PARSER_IGNORE_ERRORS", "1")
81+
run_with_ignore_errors = os.environ.get("NETPLAN_PARSER_IGNORE_ERRORS", "0")
8282

8383
returncode = 0
8484
for test in requested_tests:

0 commit comments

Comments
 (0)