Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-898

TestSamzaTaskManager incorrectly shares mock state across tests that cause failures when test ordering changes

    XMLWordPrintableJSON

Details

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

    Description

      We noticed that some of the tests in TestSamzaTaskManager fails intermittently on Mac and quite consistently on linux boxes (in our hudson environment). This was because the mock "jobCoordinator" was not cleanly setup before each test. Hence, ordering of the tests affected the result.

      We should fix this.

      Attachments

        1. SAMZA-898-1.patch
          3 kB
          Navina Ramesh
        2. SAMZA-898-0.patch
          3 kB
          Navina Ramesh

        Activity

          People

            navina Navina Ramesh
            navina Navina Ramesh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: