Merge lp:~rvb/gwacl/api-polling-fix into lp:gwacl
Proposed by
Raphaël Badin
Status: | Merged |
---|---|
Approved by: | Raphaël Badin |
Approved revision: | 77 |
Merged at revision: | 78 |
Proposed branch: | lp:~rvb/gwacl/api-polling-fix |
Merge into: | lp:gwacl |
Diff against target: |
284 lines (+123/-32) 3 files modified
managementapi.go (+8/-5) managementapi_test.go (+111/-26) xmlobjects.go (+4/-1) |
To merge this branch: | bzr merge lp:~rvb/gwacl/api-polling-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeroen T. Vermeulen (community) | Approve | ||
Review via email: mp+156125@code.launchpad.net |
Commit message
Fix api.blockUntilC
Description of the change
Drive-by fix: add tests for blockUntilCompl
To post a comment you must log in.
Excellent work. I suppose we'll want to improve the failure reporting later; we get some more helpful information from asynchronous operations IIRC.
This bit in managementapi_ test.go looks a little weird:
80 +func makeAPI(c *C) *ManagementAPI {
81 + subscriptionId := "subscriptionId"
82 + subscriptionId = subscriptionId
What does line 82 do for us and why doesn't the compiler warn us about it?