Skip to content

chore: add additional tailnet topology integration tests #13549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jun 12, 2024

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Jun 12, 2024

Added functionality that allows a DERP server or tailnet coordinator to be restarted mid-test.
Added test cases that ensure a client can maintain it's session while either are restarted.
Closes #13460

@ethanndickson ethanndickson changed the title chore: additional tailnet topology integeration tests chore: add additional tailnet topology integeration tests Jun 12, 2024
@ethanndickson ethanndickson marked this pull request as ready for review June 12, 2024 03:35
@ethanndickson
Copy link
Member Author

ethanndickson commented Jun 12, 2024

Looks like the ping we do after the restart is timing out, as it may take 25+ seconds to restart the coordinator & DERP simultaneously? Investigating.

Just flaked.

@deansheather deansheather changed the title chore: add additional tailnet topology integeration tests chore: add additional tailnet topology integration tests Jun 12, 2024
}

type derpServer struct {
http.Handler
Copy link
Member Author

@ethanndickson ethanndickson Jun 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following on from your feedback - if we leave the http.Handler unnamed the type only exposes Close and ServeHTTP, which seems sensible.

@ethanndickson ethanndickson enabled auto-merge (squash) June 12, 2024 15:49
@ethanndickson ethanndickson merged commit 58bf0ec into main Jun 12, 2024
27 checks passed
@ethanndickson ethanndickson deleted the ethan/integration-tests branch June 12, 2024 16:02
@github-actions github-actions bot locked and limited conversation to collaborators Jun 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add additional scenarios to our tailnet topology integration tests
2 participants