From 1fcaa119a53ada26ade9fb1405cd593204699adc Mon Sep 17 00:00:00 2001 From: Ayush Ranjan Date: Wed, 9 Mar 2022 21:44:30 -0800 Subject: [PATCH] Make watchdog panic for runtime tests. This will make deadlocks more apparent in test results. Currently runtime tests just timeout after 30 mins if there is some deadlock. PiperOrigin-RevId: 433654750 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 40f105a4e..35e1c508f 100644 --- a/Makefile +++ b/Makefile @@ -231,8 +231,8 @@ packetimpact-tests: .PHONY: packetimpact-tests %-runtime-tests: load-runtimes_% $(RUNTIME_BIN) - @$(call install_runtime,$(RUNTIME),) # Ensure flags are cleared. - @$(call test_runtime,$(RUNTIME),--test_timeout=10800 //test/runtimes:$*) + @$(call install_runtime,$(RUNTIME),--watchdog-action=panic) + @$(call test_runtime,$(RUNTIME),--test_timeout=1800 //test/runtimes:$*) do-tests: $(RUNTIME_BIN) @$(RUNTIME_BIN) --rootless do true