Merge lp:~hazmat/pyjuju/config-set-sans-status into lp:pyjuju
Proposed by
Kapil Thangavelu
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Gustavo Niemeyer | ||||
Approved revision: | 393 | ||||
Merged at revision: | 393 | ||||
Proposed branch: | lp:~hazmat/pyjuju/config-set-sans-status | ||||
Merge into: | lp:pyjuju | ||||
Diff against target: |
91 lines (+21/-23) 1 file modified
juju/control/tests/test_config_set.py (+21/-23) |
||||
To merge this branch: | bzr merge lp:~hazmat/pyjuju/config-set-sans-status | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Benjamin Saller (community) | Approve | ||
Jim Baker (community) | Approve | ||
Review via email: mp+78445@code.launchpad.net |
Description of the change
Simplify config set tests to reduce runtime significantly.
The config set tests where using the status test infrastructure which
builds a quite complex setup. Clint noticed that one of the automated
tests runs against trunk would timeout on the config set test. This branch
simplifies the config set tests to just build what's needed (a deployed
service) and cuts runtime for the the four tests from 12.5s to 2s on
this developer's laptop.
To post a comment you must log in.
+1, looks like a nice improvement to the current testing. In the past, I found this import from test_status to be surprising. I'm also getting an approx 5x improvement on my desktop, from 5s to 1s.