Skip to content

Commit ce895de

Browse files
committed
Disable stdout capture in pytest. Add iburst in NTP
1 parent d5d0d72 commit ce895de

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tracker/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ profile: build-relwithdebinfo
221221
@echo "Profile data saved to build-relwithdebinfo/perf.data"
222222
@echo "Run 'make flamegraph' to generate flamegraph.svg"
223223

224-
flamegraph:
224+
flamegraph:
225225
@test -f build-relwithdebinfo/perf.data || (echo "No perf.data found. Run 'make profile' first." && exit 1)
226226
@test -d build-relwithdebinfo/FlameGraph || git clone --depth 1 https://github.com/brendangregg/FlameGraph.git build-relwithdebinfo/FlameGraph
227227
perf script -i build-relwithdebinfo/perf.data | build-relwithdebinfo/FlameGraph/stackcollapse-perf.pl | build-relwithdebinfo/FlameGraph/flamegraph.pl > build-relwithdebinfo/flamegraph.svg
@@ -339,7 +339,7 @@ test-service: build-image
339339
@echo "Running service tests..."
340340
cd test/service && \
341341
unset TRACKER_MQTT_HOST TRACKER_MQTT_PORT TRACKER_MQTT_INSECURE TRACKER_MQTT_TLS_CA_CERT && \
342-
.venv/bin/pytest -v --tb=short
342+
.venv/bin/pytest -v -s --tb=short
343343

344344
# Load test: orchestrates compose lifecycle, generates load, asserts SLIs.
345345
# Override defaults for boundary testing:

tracker/test/service/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ services:
3232
- "123/udp" # Dynamic host port for ntplib queries from test host
3333
environment:
3434
- NTP_DIRECTIVES=local stratum 10
35-
- NTP_SERVERS=pool.ntp.org
35+
- NTP_SERVERS="pool.ntp.org iburst"
3636
restart: no
3737
healthcheck:
3838
# Healthy once Chrony serves a valid stratum (1-16); passes immediately

0 commit comments

Comments
 (0)