Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-739

Test timeouts mostly ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.3.0
    • None
    • None

    Description

      A lot of our tests extend BookKeeperClusterTestCase which extends TestCase, which is the junit 3 way of doing tests. Annotations is the junit4 way to doing tests. If you're using a junit3 harness, annotations are ignored. Therefore, most of our timeout annotations are ignored. I propose we move everything to the junit4 style.

      http://stackoverflow.com/questions/1151237/junit-expected-tag-not-working-as-expected

      Attachments

        1. BOOKKEEPER-739.diff
          100 kB
          Sijie Guo

        Activity

          People

            hustlmsp Sijie Guo
            ikelly Ivan Kelly
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: