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

Make test 32bit.js reproducible

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • 0

    Description

      The jstest {[slow2/32bit.js}} was useful for identifying issues resolved in SERVER-16997, but the test incorrectly assumes Math.random() may be seeded in Javascript.

      Fix the test so it uses a random number generator which accepts a seed value. Also fix incorrect write error handling and clarify the test logic.

      Attachments

        Activity

          People

            matt.kangas Matt Kangas
            matt.kangas Matt Kangas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: