Merge lp:~axwalk/juju-core/fix-debug-hooks-tests into lp:~go-bot/juju-core/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Andrew Wilkins | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 1818 | ||||
Proposed branch: | lp:~axwalk/juju-core/fix-debug-hooks-tests | ||||
Merge into: | lp:~go-bot/juju-core/trunk | ||||
Diff against target: |
183 lines (+67/-53) 2 files modified
worker/uniter/debug/server.go (+8/-2) worker/uniter/debug/server_test.go (+59/-51) |
||||
To merge this branch: | bzr merge lp:~axwalk/juju-core/fix-debug-hooks-tests | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+185423@code.launchpad.net |
Commit message
worker/
DebugHooksServe
been changed to no longer be timing-based at all,
which has the added benefit of speeding up the
tests by 1s.
DebugHooksServe
based (it shells out, so mocking isn't really
an option here), but the timeout is significantly
increased (to 5s, from 100ms).
Fixes #1224768
Description of the change
worker/
DebugHooksServe
been changed to no longer be timing-based at all,
which has the added benefit of speeding up the
tests by 1s.
DebugHooksServe
based (it shells out, so mocking isn't really
an option here), but the timeout is significantly
increased (to 5s, from 100ms).
Fixes #1224768
Reviewers: mp+185423_ code.launchpad. net,
Message:
Please take a look.
Description: apiuniter/ debug: fix debug-hook tests
worker/
DebugHooksServe rSuite. TestRunHookExce ptional has
been changed to no longer be timing-based at all,
which has the added benefit of speeding up the
tests by 1s.
DebugHooksServe rSuite. TestRunHook is still timing
based (it shells out, so mocking isn't really
an option here), but the timeout is significantly
increased (to 5s, from 100ms).
Fixes #1224768
https:/ /code.launchpad .net/~axwalk/ juju-core/ fix-debug- hooks-tests/ +merge/ 185423
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/13549045/
Affected files (+69, -55 lines): apiuniter/ debug/server. go apiuniter/ debug/server_ test.go
A [revision details]
M worker/
M worker/