Skip to content

Commit

Permalink
Add test for vmpooler__migrating queue in Pool Manager tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkirby committed Oct 19, 2016
1 parent 6dc79d7 commit 3135ca2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/vmpooler/pool_manager_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@
allow(redis).to receive(:smembers).with('vmpooler__running__pool1').and_return([])
allow(redis).to receive(:smembers).with('vmpooler__completed__pool1').and_return([])
allow(redis).to receive(:smembers).with('vmpooler__discovered__pool1').and_return([])
allow(redis).to receive(:smembers).with('vmpooler__migrating__pool1').and_return([])
allow(redis).to receive(:set)
allow(redis).to receive(:get).with('vmpooler__tasks__clone').and_return(0)
allow(redis).to receive(:get).with('vmpooler__empty__pool1').and_return(nil)
Expand Down

0 comments on commit 3135ca2

Please sign in to comment.