[PR #1088] [MERGED] Add integration tests for logout and login using auth keys #1869

Closed
opened 2025-12-29 02:32:03 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1088
Author: @juanfont
Created: 12/22/2022
Status: Merged
Merged: 12/22/2022
Merged by: @juanfont

Base: mainHead: logout-with-authekeys


📝 Commits (2)

  • 3cbe6db Make WaitForTailscaleLogout a Scenario method
  • 1ea54d4 Add integration tests for logout with authkey

📊 Changes

3 files changed (+148 additions, -17 deletions)

View changed files

📝 integration/auth_web_flow_test.go (+1 -17)
📝 integration/general_test.go (+131 -0)
📝 integration/scenario.go (+16 -0)

📄 Description

The previous PR only included integration tests when using the web auth flow (including OIDC).

This PR adds tests in the logout and re-login when using auth keys.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/1088 **Author:** [@juanfont](https://github.com/juanfont) **Created:** 12/22/2022 **Status:** ✅ Merged **Merged:** 12/22/2022 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `logout-with-authekeys` --- ### 📝 Commits (2) - [`3cbe6db`](https://github.com/juanfont/headscale/commit/3cbe6db20a1ab2698578e94761e4dc4e118ca8e6) Make WaitForTailscaleLogout a Scenario method - [`1ea54d4`](https://github.com/juanfont/headscale/commit/1ea54d4d762e094c232232ad181cdde0eccf30b6) Add integration tests for logout with authkey ### 📊 Changes **3 files changed** (+148 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `integration/auth_web_flow_test.go` (+1 -17) 📝 `integration/general_test.go` (+131 -0) 📝 `integration/scenario.go` (+16 -0) </details> ### 📄 Description The previous PR only included integration tests when using the web auth flow (including OIDC). This PR adds tests in the logout and re-login when using auth keys. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:32:03 +01:00
adam closed this issue 2025-12-29 02:32:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1869