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

Host Affinity - Fix sporadic failures in Container Allocator tests

    XMLWordPrintableJSON

Details

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

    Description

      Related to SAMZA-893, some of the Container Allocator unit tests have been giving us trouble.

      For instance; although the HostAwareContainerAllocator expiration logic was broken, the corresponding test (TestHostAwareContainerAllocator.testExpiredRequestHandling()) did not fail.

      We've also had some of the other tests fail sporadically in continuous integration testing.

      This ticket is to fix the above test in particular, but the ContainerAllocator tests in general. They don't seem to deal with the various threads properly.

      Attachments

        1. SAMZA-910.patch
          35 kB
          Jake Maes
        2. SAMZA-910_2.patch
          53 kB
          Jake Maes
        3. SAMZA-910_3.patch
          53 kB
          Jake Maes

        Issue Links

          Activity

            People

              jmakes Jake Maes
              jmakes Jake Maes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: