Skip to content

Commit 9f468a2

Browse files
committed
chore: Ensure the logging library does not get upset when output capture is disabled.
1 parent e4038b9 commit 9f468a2

4 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ env:
1717
SLOW_MACHINE: 1
1818
CI_SERVER_URL: "http://35.239.136.52:3170"
1919
PYTEST_OPTS_BASE: "-vvv --junit-xml=report.xml --timeout=1800 --durations=10"
20+
TEST_LOG_IGNORE_ERRORS: "1"
2021

2122
jobs:
2223
prebuild:

.github/workflows/coverage-nightly.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
PYTEST_PAR: ${{ matrix.pytest_par }}
9292
SLOW_MACHINE: 1
9393
TIMEOUT: 900
94+
TEST_LOG_IGNORE_ERRORS: "1"
9495
run: |
9596
mkdir -p "$CLN_COVERAGE_DIR"
9697
uv run eatmydata pytest tests/ -n ${PYTEST_PAR} -vvv

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ ifeq ($(PYTEST),)
518518
exit 1
519519
else
520520
# Explicitly hand VALGRIND so you can override on make cmd line.
521-
PYTHONPATH=$(MY_CHECK_PYTHONPATH) TEST_DEBUG=1 VALGRIND=$(VALGRIND) uv run $(PYTEST) $(PYTEST_TESTS) $(PYTEST_OPTS)
521+
PYTHONPATH=$(MY_CHECK_PYTHONPATH) TEST_DEBUG=1 TEST_LOG_IGNORE_ERRORS=1 VALGRIND=$(VALGRIND) uv run $(PYTEST) $(PYTEST_TESTS) $(PYTEST_OPTS)
522522
endif
523523

524524
check-fuzz: $(ALL_FUZZ_TARGETS)

Taskfile.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ tasks:
1212
dir: '.'
1313
deps:
1414
- build
15+
env:
16+
TEST_LOG_IGNORE_ERRORS: "1"
1517
cmds:
1618
- uv run pytest --force-flaky -vvv -n {{ .PYTEST_PAR }} tests {{ .CLI_ARGS }}
1719

1820
test-liquid:
1921
env:
2022
TEST_NETWORK: "liquid-regtest"
23+
TEST_LOG_IGNORE_ERRORS: "1"
2124
cmds:
2225
- sed -i 's/TEST_NETWORK=regtest/TEST_NETWORK=liquid-regtest/g' config.vars
2326
- uv run make cln-grpc/proto/node.proto
@@ -62,6 +65,8 @@ tasks:
6265
deps:
6366
- in-docker-init
6467
- in-docker-build-deps
68+
env:
69+
TEST_LOG_IGNORE_ERRORS: "1"
6570
cmds:
6671
# This way of copying allows us to copy the dirty tree, without
6772
# triggering any of the potentially configured hooks which might

0 commit comments

Comments
 (0)