Added integration tests for ephemeral nodes
Fetch the machines from headscale
This commit is contained in:
parent
afae1ff7b6
commit
55a3885614
5 changed files with 120 additions and 8 deletions
|
@ -62,7 +62,7 @@ func TestHeadscale(t *testing.T) {
|
|||
})
|
||||
|
||||
t.Run("create-auth-key", func(t *testing.T) {
|
||||
_, err := scenario.CreatePreAuthKey(namespace)
|
||||
_, err := scenario.CreatePreAuthKey(namespace, true, false)
|
||||
if err != nil {
|
||||
t.Errorf("failed to create preauthkey: %s", err)
|
||||
}
|
||||
|
@ -166,7 +166,7 @@ func TestTailscaleNodesJoiningHeadcale(t *testing.T) {
|
|||
})
|
||||
|
||||
t.Run("join-headscale", func(t *testing.T) {
|
||||
key, err := scenario.CreatePreAuthKey(namespace)
|
||||
key, err := scenario.CreatePreAuthKey(namespace, true, false)
|
||||
if err != nil {
|
||||
t.Errorf("failed to create preauthkey: %s", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue