mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user