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

Delta Between Two Patch Sets: environs/jujutest/livetests.go

Issue 6500089: environs/ec2: authorize internal traffic
Left Patch Set: Created 12 years, 7 months ago
Right Patch Set: environs/ec2: authorize internal traffic Created 12 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « environs/ec2/live_test.go ('k') | mstate/state_test.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 package jujutest 1 package jujutest
2 2
3 import ( 3 import (
4 "fmt" 4 "fmt"
5 . "launchpad.net/gocheck" 5 . "launchpad.net/gocheck"
6 "launchpad.net/juju-core/environs" 6 "launchpad.net/juju-core/environs"
7 "launchpad.net/juju-core/environs/config" 7 "launchpad.net/juju-core/environs/config"
8 "launchpad.net/juju-core/juju" 8 "launchpad.net/juju-core/juju"
9 "launchpad.net/juju-core/state" 9 "launchpad.net/juju-core/state"
10 "launchpad.net/juju-core/testing" 10 "launchpad.net/juju-core/testing"
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 } 402 }
403 403
404 inst, err := t.Env.StartInstance(4, InvalidStateInfo, tools) 404 inst, err := t.Env.StartInstance(4, InvalidStateInfo, tools)
405 if inst != nil { 405 if inst != nil {
406 err := t.Env.StopInstances([]environs.Instance{inst}) 406 err := t.Env.StopInstances([]environs.Instance{inst})
407 c.Check(err, IsNil) 407 c.Check(err, IsNil)
408 } 408 }
409 c.Assert(inst, IsNil) 409 c.Assert(inst, IsNil)
410 c.Assert(err, ErrorMatches, "cannot find image.*") 410 c.Assert(err, ErrorMatches, "cannot find image.*")
411 } 411 }
LEFTRIGHT

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