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

Correct comment errors in TestScannerHeartbeatMessages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      1. For CLIENT_TIMEOUT

        // Time, in milliseconds, that the client will wait for a response from the server before timing
        // out. This value is used server side to determine when it is necessary to send a heartbeat
        // message to the client. Time limit will be 500 ms.
        private static int CLIENT_TIMEOUT = 1000;
      

      I think “Time limit will be 500 ms.” should be removed

      2. For DEFAULT_ROW_SLEEP_TIME
      Typo, "same" -> "some", in
      // In this test, we sleep after reading each row. So we should make sure after we get some number
      // of rows and sleep same times we must reach time limit, and do not timeout after next sleeping.

      Attachments

        Activity

          People

            xiangli Xiang Li
            xiangli Xiang Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: