Merge lp:~elopio/snappy/extract_integration_adt-run into lp:~snappy-dev/snappy/snappy-moved-to-github
Proposed by
Leo Arias
Status: | Merged |
---|---|
Approved by: | Federico Gimenez |
Approved revision: | 618 |
Merged at revision: | 615 |
Proposed branch: | lp:~elopio/snappy/extract_integration_adt-run |
Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
Prerequisite: | lp:~elopio/snappy/extract_integration_build |
Diff against target: |
309 lines (+161/-95) 4 files modified
_integration-tests/helpers/autopkgtest/autopkgtest.go (+99/-0) _integration-tests/helpers/autopkgtest/ssh.go (+46/-0) _integration-tests/helpers/utils/utils.go (+9/-0) _integration-tests/main.go (+7/-95) |
To merge this branch: | bzr merge lp:~elopio/snappy/extract_integration_adt-run |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Federico Gimenez (community) | Approve | ||
Review via email:
|
Commit message
Extract the integration adt-run helpers to a package.
To post a comment you must log in.
Very nice main.go! :D
Instead of having a single AdtRun method and passing to it the results of calling other public methods of the same package I would leave it as a private adtRun and expose an AdtRunRemote, which takes an ip and a port as its last arguments, and a AdtRunLocal with an imagePath parameter.
Maybe we could also design a type for gathering the common options of both methods, what do you think?
Thanks!