mirror of https://github.com/coder/coder.git
fix: disable azureidentity test on darwin (#12979)
See https://github.com/coder/coder/issues/12978
This commit is contained in:
parent
231fc26c92
commit
942e90270e
|
@ -4,6 +4,7 @@ import (
|
|||
"context"
|
||||
"crypto/x509"
|
||||
"encoding/pem"
|
||||
"runtime"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
|
@ -14,6 +15,11 @@ import (
|
|||
|
||||
func TestValidate(t *testing.T) {
|
||||
t.Parallel()
|
||||
if runtime.GOOS == "darwin" {
|
||||
// This test fails on MacOS for some reason. See https://github.com/coder/coder/issues/12978
|
||||
t.Skip()
|
||||
}
|
||||
|
||||
mustTime := func(layout string, value string) time.Time {
|
||||
ti, err := time.Parse(layout, value)
|
||||
require.NoError(t, err)
|
||||
|
|
Loading…
Reference in New Issue