mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-17 11:03:14 +01:00
Intentionally slow down the long running test
This allows the watchdog restoring/delayedrestart tests to function
This commit is contained in:
@@ -1,11 +1,19 @@
|
||||
/world
|
||||
sleep_offline = FALSE
|
||||
loop_checks = FALSE
|
||||
|
||||
/world/New()
|
||||
log << "Initial value of sleep_offline: [sleep_offline]"
|
||||
|
||||
// Intentionally slow down startup for testing purposes
|
||||
for(var/i in 1 to 10000000)
|
||||
dab()
|
||||
TgsNew(new /datum/tgs_event_handler/impl, TGS_SECURITY_ULTRASAFE)
|
||||
StartAsync()
|
||||
|
||||
/proc/dab()
|
||||
return
|
||||
|
||||
/proc/StartAsync()
|
||||
set waitfor = FALSE
|
||||
Run()
|
||||
|
||||
Reference in New Issue
Block a user