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

killop.js should sleep between loop iterations

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • v3.2
    • Sharding 14 (05/13/16)
    • 0

    Description

      The killop.js test schedules two tight JS loops in two separate processes and then tries to interrupt them. Because the loops are tight, this causes problems on a less powerful hardware by not letting other processes be scheduled.

      We should introduce a sleep between loop iterations in order to make the test less resource consuming.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: