Use short test to signal that we dont run integration
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
c6f82c3646
commit
dfadb965b7
5 changed files with 17 additions and 1 deletions
|
@ -44,6 +44,10 @@ type IntegrationOIDCTestSuite struct {
|
|||
}
|
||||
|
||||
func TestIntegrationOIDCTestSuite(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("skipping integration tests due to short flag")
|
||||
}
|
||||
|
||||
saveLogs, err := GetEnvBool("HEADSCALE_INTEGRATION_SAVE_LOG")
|
||||
if err != nil {
|
||||
saveLogs = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue