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

Separate ASSERT_EQ (a == b || a == b + 1) into ASSERT_LTE and ASSERT_GTE in periodic_runner_impl_test

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Sharding 2018-10-22
    • 15

    Description

      Right now if a unit test in periodic_runner_impl_test fails here there's no way to tell what the actual count was in the failing test since the unit test framework won't print the actual value of count. If we split this into calls to ASSERT_LTE/GTE we'd be able to better debug failures.

      Attachments

        Activity

          People

            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: