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

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

      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.

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

              Created:
              Updated:
              Resolved: