Details
Description
timeseries_expire.js test is by far the slowest test on our jscore suite. It runs for around 1 min and 40 secs.
The reason is very simple... the test waits two times for expire documents on the timeseries collection to be deleted. Those documents are deleted by the TTL monitor that by default gets executed every 60 s.
In order to speedup this test we could override the ttlMonitorSleepSecs paramter to a much lower value.