aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_jsonpointer_spec.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2023-04-06 14:00:54 +0100
committerMatthew Wild <mwild1@gmail.com>2023-04-06 14:00:54 +0100
commit00dfd64a86f5ee5053beeb02b868b7594f3dc597 (patch)
tree6f2c521c0d9b161e5f488ac939ab14b217fdb9b0 /spec/util_jsonpointer_spec.lua
parentc85502f0038f833e2f2dcb502c7a29dc5ddcbb71 (diff)
downloadprosody-00dfd64a86f5ee5053beeb02b868b7594f3dc597.tar.gz
prosody-00dfd64a86f5ee5053beeb02b868b7594f3dc597.zip
integration tests: Preserve unmocked time.monotonic()
With monotonic() frozen, timers may fail to trigger. This caused problems after the new util.startup changes that moved the server-started event to a timer. The timer wouldn't trigger, the event didn't fire, and prosody would fail to daemonize. All the tests that depend on specific time behaviour are depending on wall clock time, so only mocking util.time.now() and os.time() fixes those.
Diffstat (limited to 'spec/util_jsonpointer_spec.lua')
0 files changed, 0 insertions, 0 deletions