ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez (JIRA)" <>
Subject [jira] [Created] (AMBARI-14438) Improve Ambari unit tests time to less than 30 mins
Date Fri, 18 Dec 2015 21:31:46 GMT
Alejandro Fernandez created AMBARI-14438:

             Summary: Improve Ambari unit tests time to less than 30 mins
                 Key: AMBARI-14438
             Project: Ambari
          Issue Type: Epic
          Components: ambari-server
    Affects Versions: 2.3.0
            Reporter: Alejandro Fernandez
            Assignee: Alejandro Fernandez
             Fix For: 2.3.0

We need to drastically reduce the time it takes unit tests to run.
On Apache, they often take 3-4+ hours.
This discourages developers from running them locally (which can take 30-50 mins).

* Refactor some test suites to reuse DB to make it faster
* Run tests in parallel (currently some tests fail if not clean or reuse objects)
* Make Ambari Web independent of Ambari Server, so that can still get results even if one
* Annotate tests based on priority and type - useful for devs to run just the tests they care
about locally
* Sumit: Internal infra for running tests locally. Annotate some tests to not run on Apache.

Optional item:
* Script to ensure Apache process, get results if unit tests pass, and always attach patch
to Apache Jira

This message was sent by Atlassian JIRA

View raw message