add 1.54 and 1.56 to integration tests (#1652)
* add 1.54 and 1.56 to integration tests Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> * fix bug where we tested random versions, now sorted Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> --------- Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
55ca078f22
commit
054b06d45d
1 changed files with 7 additions and 2 deletions
|
@ -6,6 +6,7 @@ import (
|
|||
"log"
|
||||
"net/netip"
|
||||
"os"
|
||||
"sort"
|
||||
"sync"
|
||||
|
||||
v1 "github.com/juanfont/headscale/gen/go/headscale/v1"
|
||||
|
@ -31,6 +32,8 @@ func enabledVersions(vs map[string]bool) []string {
|
|||
}
|
||||
}
|
||||
|
||||
sort.Sort(sort.Reverse(sort.StringSlice(ret)))
|
||||
|
||||
return ret
|
||||
}
|
||||
|
||||
|
@ -44,7 +47,9 @@ var (
|
|||
tailscaleVersions2021 = map[string]bool{
|
||||
"head": true,
|
||||
"unstable": true,
|
||||
"1.52": true, // CapVer:
|
||||
"1.56": true, // CapVer: 82
|
||||
"1.54": true, // CapVer: 79
|
||||
"1.52": true, // CapVer: 79
|
||||
"1.50": true, // CapVer: 74
|
||||
"1.48": true, // CapVer: 68
|
||||
"1.46": true, // CapVer: 65
|
||||
|
@ -353,7 +358,7 @@ func (s *Scenario) CreateTailscaleNodesInUser(
|
|||
return err
|
||||
}
|
||||
|
||||
log.Printf("testing versions %v", lo.Uniq(versions))
|
||||
log.Printf("testing versions %v, MustTestVersions %v", lo.Uniq(versions), MustTestVersions)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue