Skip to content

Commit

Permalink
Disable test failing on darwin (#2842)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanotti authored Mar 29, 2021
1 parent 38e5761 commit 2dbc66c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions service/application_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"flag"
"fmt"
"net/http"
"runtime"
"sort"
"strconv"
"strings"
Expand Down Expand Up @@ -368,6 +369,7 @@ func TestApplication_updateService(t *testing.T) {
name string
configFactory ConfigFactory
service *service
skip bool
}{
{
name: "first_load_err",
Expand All @@ -394,10 +396,16 @@ func TestApplication_updateService(t *testing.T) {
builtReceivers: builder.Receivers{},
builtExtensions: builder.Extensions{},
},
skip: runtime.GOOS == "darwin",
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if tt.skip {
t.Log("Skipping test", tt.name)
return
}

app := Application{
logger: zap.NewNop(),
configFactory: tt.configFactory,
Expand Down

0 comments on commit 2dbc66c

Please sign in to comment.