Fix scalability issues affecting the integration tests #263

Closed
opened 2025-12-29 01:25:17 +01:00 by adam · 1 comment
Owner

Originally created by @juanfont on GitHub (Apr 30, 2022).

Currently we are facing a scalability issue in the number of clients that Headscale can handle. This becomes problem becomes very apparent while executing the integration tests.

As of April 30th we are targeting the following Tailscale versions:

(from integration_common_test.go)

	tailscaleVersions = []string{
		"head",
		"unstable",
		"1.24.0",
		"1.22.2",
		"1.20.4",
		"1.18.2",
		"1.16.2",
		"1.14.3",
		"1.12.3",
	}

and we are running 20 containers (in integration_test.go):

	s.namespaces = map[string]TestNamespace{
		"thisspace": {
			count:      15,
			tailscales: make(map[string]dockertest.Resource),
		},
		"otherspace": {
			count:      5,
			tailscales: make(map[string]dockertest.Resource),
		},
	}

I have temporarily reduced the number of containers in the integration tests at https://github.com/juanfont/headscale/pull/568, so we can have a more less functional pipeline.

Let's keep this issue to track the problem.

Originally created by @juanfont on GitHub (Apr 30, 2022). Currently we are facing a scalability issue in the number of clients that Headscale can handle. This becomes problem becomes very apparent while executing the integration tests. As of April 30th we are targeting the following Tailscale versions: (from `integration_common_test.go`) ```go tailscaleVersions = []string{ "head", "unstable", "1.24.0", "1.22.2", "1.20.4", "1.18.2", "1.16.2", "1.14.3", "1.12.3", } ``` and we are running 20 containers (in `integration_test.go`): ```go s.namespaces = map[string]TestNamespace{ "thisspace": { count: 15, tailscales: make(map[string]dockertest.Resource), }, "otherspace": { count: 5, tailscales: make(map[string]dockertest.Resource), }, } ``` I have temporarily reduced the number of containers in the integration tests at https://github.com/juanfont/headscale/pull/568, so we can have a more less functional pipeline. Let's keep this issue to track the problem.
adam added the bug label 2025-12-29 01:25:17 +01:00
adam closed this issue 2025-12-29 01:25:17 +01:00
Author
Owner

@juanfont commented on GitHub (Sep 4, 2022):

I think at this point we can call this closed :)

@juanfont commented on GitHub (Sep 4, 2022): I think at this point we can call this closed :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#263