Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7455

Increase timeouts in TestReplication and TestSplitLogWorker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.4, 0.95.0
    • None
    • None

    Description

      When I measure the times in TestReplication.queueFailover, it takes about 15s on my (reasonably fast) Laptop.
      The timeout in queueFailover currently is 1500*2*15 = 45000ms.
      For setup before each test (which truncates the table and waits for the changes to replicate) it is 1500*15 = 22500ms.

      Interestingly I see queueFailover failures where the wait time is measured as 64260ms and some at 72316ms.
      Since these numbers are not even close to 45000ms, the machine or JVM must have been stuck for 15 or almost 30s (otherwise we'd get a timeout and the total time spent should be close to the timeout).

      So I would suggest that we increase the timeouts further.
      We could set SLEEP_TIME to 2000 and retries to 20. Would lead to 2000*2*20 = 80000ms.

      Any objections?

      Attachments

        1. 7455-0.96.txt
          0.8 kB
          Lars Hofhansl
        2. 7455-0.94.txt
          1 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

              larsh Lars Hofhansl
              larsh Lars Hofhansl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: