Workaround for slow GitHub runners

This commit is contained in:
Jordan Dominion
2024-02-21 08:48:06 -05:00
parent 9d381df632
commit a91cb620f4
+4 -1
View File
@@ -33,8 +33,11 @@
world.log << "file check 1"
fdel("test_event_output.txt")
var/start_time = world.timeofday
world.TgsTriggerEvent("test_event", list("asdf"), FALSE)
if(fexists("test_event_output.txt"))
if((world.timeofday - start_time) <= 50 && fexists("test_event_output.txt"))
FailTest("Expected test_event_output.txt to not exist here", "test_fail_reason.txt")
world.log << "sleep2"