Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-64241

Speedup timeseries_expire.js test

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-04-04

    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.

      Attachments

        Activity

          People

            yujin.kang@mongodb.com Yujin Kang Park
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: