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

TestRuntimeStats.testCleanup is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      int deleted = objStore.deleteRuntimeStats(1);
      assertEquals(1, deleted);

      The testCleanup could fail if somehow there is GC pause before deleteRuntimeStats happens so actually 2 stats will get deleted rather than one.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aihuaxu Aihua Xu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: