You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Bernd Mathiske (JIRA)" <ji...@apache.org> on 2014/11/11 17:59:34 UTC

[jira] [Created] (MESOS-2074) Fetcher cache test fixture

Bernd Mathiske created MESOS-2074:
-------------------------------------

             Summary: Fetcher cache test fixture
                 Key: MESOS-2074
                 URL: https://issues.apache.org/jira/browse/MESOS-2074
             Project: Mesos
          Issue Type: Improvement
          Components: fetcher, slave
            Reporter: Bernd Mathiske
            Assignee: Bernd Mathiske


To accelerate providing good test coverage for the fetcher cache (MESOS-336), we can provide a framework that canonicalizes creating and running a number of tasks and allows easy parametrization with combinations of the following:
- whether to cache or not
- whether make what has been downloaded executable or not
- whether to extract from an archive or not
- whether to download from a file system, http, or...

We can create a simple HHTP server in the test fixture to support the latter.

Furthermore, the tests need to be robust wrt. varying numbers of StatusUpdate messages. An accumulating update message sink that reports the final state is needed.

All this has already been programmed in this patch, just needs to be rebased:
https://reviews.apache.org/r/21316/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)