mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-21 04:53:44 +01:00
Workaround for slow GitHub runners
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user