Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8827

Eliminate calling of `await()` in the docker library.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      After making composing containerizer as a default containerizer in tests, some tests (e.g. `AgentAPITest.AttachContainerInputValidation`) started to hang due to a paused clocks and the use of clock-dependent method `await()` by the docker library.

      Tests hang in `Docker::validateVersion()`, which is called from `Docker::create()` when an instance of docker containerizer is created.

      A possible solution might be removing `DOCKER_VERSION_WAIT_TIMEOUT` or making both `Docker::validateVersion()` and `Docker::create()` asynchronous.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abudnik Andrei Budnik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: