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
This commit is contained in:
Ayush Ranjan
2022-03-09 21:46:37 -08:00
committed by gVisor bot
parent 00a4ea9bfb
commit 1fcaa119a5
+2 -2
View File
@@ -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