Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1321

TestCLI: check assumptions before the test run

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: tests
    • Labels:
      None

      Description

      The TestCLI test cases has some assumptions which are not checked in the test code. This is a proposal to add checks for each important assumption which would make some cases fail if not met. This would save us some debugging time when setting up new test environment and would make this test easier to reuse.

      So far, I have identified these:

      • the effective user must be hdfs (a root for HDFS)
      • the HDFS trash feature must be disabled (`fs.trash.interval` should be 0)
      • hdfs://tmp/testcli_TIMESTAMP directory has been really created

      I expect there are additional assumptions worth checking, any other ideas?

        Attachments

        1. BIGTOP-1321.1.patch
          4 kB
          Martin Bukatovic
        2. BIGTOP-1321.2.patch
          2 kB
          Martin Bukatovic
        3. BIGTOP-1321.3.patch
          2 kB
          Martin Bukatovic

          Issue Links

            Activity

              People

              • Assignee:
                mbukatov Martin Bukatovic
                Reporter:
                mbukatov Martin Bukatovic
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: