Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-28036

Move checkLock method to TestTxnDbUtil

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • None

    Description

      Referring to a method from a different unit test class is crazy, we need to move it.
      When calling a method like TestDbTxnManager2.checkLock, the @ClassRule of TestDbTxnManager2 is called which can potentially screw up things, so this is kind of blocking some stuff in HIVE-27972 as well. Unit test classes should only depend on each other in the same inheritance chain.

      Attachments

        Issue Links

          Activity

            People

              abstractdog László Bodor
              abstractdog László Bodor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: