~dave-cheney/goose/003-fix-fd-leak

« back to all changes in this revision

Viewing changes to testservices/novaservice/service.go

  • Committer: Tarmac
  • Author(s): Ian Booth
  • Date: 2013-02-26 00:54:20 UTC
  • mfrom: (77.1.1 nova-double-server-id)
  • Revision ID: tarmac-20130226005420-ke5xcdb1e0qstf9e
[r=wallyworld] Fix server id gen for noav double

A quick change to generate the nova server id on the test double using a counter not a random value.

https://codereview.appspot.com/7396058/

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
        floatingIPs  map[int]nova.FloatingIP
27
27
        serverGroups map[string][]int
28
28
        serverIPs    map[string][]int
 
29
        nextServerId int
29
30
        nextGroupId  int
30
31
        nextRuleId   int
31
32
        nextIPId     int