Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1220)

Issue 88380044: maas: improved tests with new gomaasapi (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by vladislav.klyachin
Modified:
10 years ago
Reviewers:
dimitern, mp+216055
Visibility:
Public.

Description

maas: improved tests with new gomaasapi Improved provider/maas testing using new gomaasapi test server features. 1, New tests: - TestGetNetworkMACs - getNetworkMACs function should read connected MACs to the network - TestGetInstanceNetworkInterfaces - getInstanceNetworkInterfaces should read list of network interfaces together with their MACs using data from commissioning stage - TestSetupNetworks - setupNetworks function should get []NetworkInfo data combining the data from getNetworkMacs and getInstanceNetworkInterfaces functions - TestSupportNetworks - verify that gomaasapi supports network operations 2. gomaasapi was advanced to new revision in dependencies.tsv https://code.launchpad.net/~klyachin/juju-core/102-new-tests-with-new-gomaasapi/+merge/216055 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 10

Patch Set 2 : maas: improved tests with new gomaasapi #

Total comments: 3

Patch Set 3 : maas: improved tests with new gomaasapi #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -40 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M dependencies.tsv View 1 chunk +1 line, -1 line 0 comments Download
M provider/maas/environ_whitebox_test.go View 1 2 8 chunks +217 lines, -39 lines 0 comments Download

Messages

Total messages: 6
vladislav.klyachin
Please take a look.
10 years ago (2014-04-16 10:26:56 UTC) #1
dimitern
Looking good, but needs some polishing I think. https://codereview.appspot.com/88380044/diff/1/provider/maas/environ_whitebox_test.go File provider/maas/environ_whitebox_test.go (left): https://codereview.appspot.com/88380044/diff/1/provider/maas/environ_whitebox_test.go#oldcode452 provider/maas/environ_whitebox_test.go:452: func ...
10 years ago (2014-04-17 08:50:14 UTC) #2
vladislav.klyachin
https://codereview.appspot.com/88380044/diff/1/provider/maas/environ_whitebox_test.go File provider/maas/environ_whitebox_test.go (left): https://codereview.appspot.com/88380044/diff/1/provider/maas/environ_whitebox_test.go#oldcode452 provider/maas/environ_whitebox_test.go:452: func (suite *environSuite) TestBootstrapIntegratesWithEnvirons(c *gc.C) { On 2014/04/17 08:50:15, ...
10 years ago (2014-04-17 14:32:48 UTC) #3
vladislav.klyachin
Please take a look.
10 years ago (2014-04-17 17:13:57 UTC) #4
dimitern
Thanks! LGTM with a few trivials. https://codereview.appspot.com/88380044/diff/20001/provider/maas/environ_whitebox_test.go File provider/maas/environ_whitebox_test.go (right): https://codereview.appspot.com/88380044/diff/20001/provider/maas/environ_whitebox_test.go#newcode196 provider/maas/environ_whitebox_test.go:196: // Create node ...
10 years ago (2014-04-18 08:26:36 UTC) #5
vladislav.klyachin
10 years ago (2014-04-21 07:38:25 UTC) #6
Please take a look.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b