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

Remove sleeptest from dbtests

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.21, 3.4.16, 3.6.6, 3.7.6
    • None
    • None
    • Fully Compatible
    • v3.6, v3.4, v3.2
    • Platforms 2018-04-23
    • 45

    Description

      The sleeptest in dbtests checks whether calling sleep returns within an arbitrary threshold:

                  sleepmicros( 1527123 );
                  ASSERT( t.micros() > 1000000 );
                  ASSERT( t.micros() < 2000000 );
      

      No platform that I know of actually guarantees this test will pass, so it should be removed.

      Attachments

        Activity

          People

            jonathan.reams@mongodb.com Jonathan Reams
            jonathan.reams@mongodb.com Jonathan Reams
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: