Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-219

events.poll timeout in watcher test too short

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1, 3.1.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      in watchertest there are some event.poll calls that have 1milli timeouts

      e = localWatcher.events.poll(1, TimeUnit.MILLISECONDS);

      this is showing falure in some cases under hudson (I assume when it's under load from other tests running for other proj)

      We should review the poll calls and verify adequate timeouts.

        Attachments

        1. ZOOKEEPER-219.patch
          7 kB
          Patrick D. Hunt

          Activity

            People

            • Assignee:
              phunt Patrick D. Hunt
              Reporter:
              phunt Patrick D. Hunt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: