introduce a version subset we must test against
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
b4a4d0f760
commit
f8a58aa15b
7 changed files with 43 additions and 32 deletions
|
@ -33,7 +33,7 @@ func TestDERPServerScenario(t *testing.T) {
|
|||
defer scenario.Shutdown()
|
||||
|
||||
spec := map[string]int{
|
||||
"user1": len(TailscaleVersions),
|
||||
"user1": len(MustTestVersions),
|
||||
}
|
||||
|
||||
headscaleConfig := map[string]string{}
|
||||
|
@ -164,7 +164,7 @@ func (s *EmbeddedDERPServerScenario) CreateTailscaleIsolatedNodesInUser(
|
|||
|
||||
version := requestedVersion
|
||||
if requestedVersion == "all" {
|
||||
version = TailscaleVersions[clientN%len(TailscaleVersions)]
|
||||
version = MustTestVersions[clientN%len(MustTestVersions)]
|
||||
}
|
||||
|
||||
cert := hsServer.GetCert()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue