Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-48556

Fix intermittent failure of expiry pager settings test

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 7.1.0
    • None
    • couchbase-bucket
    • None
    • 1
    • KV 2021-Oct-21

    Description

      00:21:01.129 264/411 Test #262: ep_testsuite.full_eviction.comp_active ........................................................................................***Failed   27.87 sec
      00:21:01.129 
      Running [0000/0158]: expiry pager settings.....\kv_engine\engines\ep\tests\ep_testsuite.cc:706 Test failed: `' (Expected `2021-09-22 09:32:28' to be less than or equal to `2021-09-22 09:32:27' - Unexpected task time range, expect: 2021-09-22 09:32:28 <= 2021-09-22 09:32:27 <= 2021-09-22 09:32:28)
      

      test expects the set runtime to be within a time window calculated from the system_clock::now() before and after the config param was changed.

      However, the result being checked is calculated using ServerCoreApi time methods, influenced by memcached_uptime ticks.

      system_clock::now() is also not necessarily monotonic.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            james.harrison James Harrison (Inactive)
            james.harrison James Harrison (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty