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"
|
"context"
|
||||||
"crypto/x509"
|
"crypto/x509"
|
||||||
"encoding/pem"
|
"encoding/pem"
|
||||||
|
"runtime"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
@ -14,6 +15,11 @@ import (
|
||||||
|
|
||||||
func TestValidate(t *testing.T) {
|
func TestValidate(t *testing.T) {
|
||||||
t.Parallel()
|
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 {
|
mustTime := func(layout string, value string) time.Time {
|
||||||
ti, err := time.Parse(layout, value)
|
ti, err := time.Parse(layout, value)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
Loading…
Reference in New Issue