Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request moby#37773 from kolyshkin/fix-TestServiceWithDefau…
Browse files Browse the repository at this point in the history
…ltAddressPoolInit

TestServiceWithDefaultAddressPoolInit: avoid panic
  • Loading branch information
vdemeester authored Sep 14, 2018
2 parents 3c0e47f + 69d3a89 commit 43b8dc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration/network/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ func TestServiceWithDefaultAddressPoolInit(t *testing.T) {

out, err := cli.NetworkInspect(context.Background(), name, types.NetworkInspectOptions{})
assert.NilError(t, err)
t.Logf("%s: NetworkInspect: %+v", t.Name(), out)
assert.Assert(t, len(out.IPAM.Config) > 0)
assert.Equal(t, out.IPAM.Config[0].Subnet, "20.20.0.0/24")

err = cli.ServiceRemove(context.Background(), serviceID)
Expand Down

0 comments on commit 43b8dc7

Please sign in to comment.