Skip to content

[v18] chore: integration test improvements#61676

Merged
rosstimothy merged 1 commit intobranch/v18from
bot/backport-61615-branch/v18
Nov 24, 2025
Merged

[v18] chore: integration test improvements#61676
rosstimothy merged 1 commit intobranch/v18from
bot/backport-61615-branch/v18

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #61615 to branch/v18

The changes here are meant to reduce resources consumed by
integration tests and eliminate the footgun of connecting to
a host before its been populated in the appropriate caches.

`(integrationTestSuite) defaultServiceConfig` now disables more services
by default. Host user creation, the Web UI and Web Service, and the
Database Proxy are all now turned off by default. The tests that require
them can opt into turning them on.

`(TeleInstance) Start` now blocks until the processes SSH server is present
in caches before returning. Most tests were already calling this manually
after Start, however, not all of them were. This is frequently forgotten
in new tests and causes flakes if client connections are attempted as
soon as Start returns. There are still cases where calling WaitForNodeCount
directly applies - tests that spin up additional nodes or tests that create
nodes in a leaf cluster.
@rosstimothy rosstimothy added the no-changelog Indicates that a PR does not require a changelog entry label Nov 21, 2025
@rosstimothy rosstimothy added this pull request to the merge queue Nov 24, 2025
Merged via the queue into branch/v18 with commit 065b4e8 Nov 24, 2025
42 checks passed
@rosstimothy rosstimothy deleted the bot/backport-61615-branch/v18 branch November 24, 2025 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants