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

killop.js should sleep between loop iterations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.3.5
    • Fix Version/s: 3.3.6
    • Component/s: Testing Infrastructure
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.2
    • Sprint:
      Sharding 14 (05/13/16)
    • Linked BF Score:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: