The test will fail if the thread on which DelayedLiveReloadTrigger runs isn't scheduled within 2 seconds. We should use Awaitility to wait until triggerReload() is called on the LiveReloadServer instead.