Remove superfluous test support code. Fix bug in node list cli command.
Add tests.
This commit is contained in:
parent
6a3b171e99
commit
d1c3faae5f
4 changed files with 42 additions and 7 deletions
|
@ -172,7 +172,7 @@ func (*Suite) TestEphemeralKey(c *check.C) {
|
|||
_, err = h.GetMachine("test7", "testest")
|
||||
c.Assert(err, check.IsNil)
|
||||
|
||||
h.ExpireEphemeralNodes(0)
|
||||
h.expireEphemeralNodesWorker()
|
||||
|
||||
// The machine record should have been deleted
|
||||
_, err = h.GetMachine("test7", "testest")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue