ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-524

DBSizeTest is not really testing anything

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: server, tests
    • Labels:
      None

      Description

      DBSizeTest looks like it should be testing latency, but it doesn't seem to do it (assert is commented out).

      We need to decide if this test should be fixed, or just dropped.

      Also note: this test takes 40seconds on my system. Way too long. Perhaps async create operations should be used
      to populate the database. I also noticed that data size has a big impact on overall test time (1k vs 5 bytes is something
      like a 2x time diff for time to run the test).

        Activity

        Patrick Hunt created issue -
        Benjamin Reed made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Benjamin Reed made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Hunt made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Benjamin Reed
            Reporter:
            Patrick Hunt
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development