mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-25 09:37:28 +00:00
Remove superfluous test support code. Fix bug in node list cli command.
Add tests.
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user