Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2232 Add smoke tests for HDFS
  3. BIGTOP-2234

TestBlockRecovery incorrectly fails on a single node cluster

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • tests
    • None

    Description

      While running on a single node cluster, TestBlockRecovery fails with AssumtionViolationException. Turns out Assume shouldn't be used in @BeforeClass and @AfterClass methods.

      While it might be untypical to run such a test in the single node setup, it is yet convenient during the development cycle and incorrectly failing test is spoiling the picture. Let's fix.

      Attachments

        Activity

          People

            cos Konstantin I Boudnik
            cos Konstantin I Boudnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: