File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import (
22
22
"flag"
23
23
"fmt"
24
24
"net/http"
25
+ "runtime"
25
26
"sort"
26
27
"strconv"
27
28
"strings"
@@ -368,6 +369,7 @@ func TestApplication_updateService(t *testing.T) {
368
369
name string
369
370
configFactory ConfigFactory
370
371
service * service
372
+ skip bool
371
373
}{
372
374
{
373
375
name : "first_load_err" ,
@@ -394,10 +396,16 @@ func TestApplication_updateService(t *testing.T) {
394
396
builtReceivers : builder.Receivers {},
395
397
builtExtensions : builder.Extensions {},
396
398
},
399
+ skip : runtime .GOOS == "darwin" ,
397
400
},
398
401
}
399
402
for _ , tt := range tests {
400
403
t .Run (tt .name , func (t * testing.T ) {
404
+ if tt .skip {
405
+ t .Log ("Skipping test" , tt .name )
406
+ return
407
+ }
408
+
401
409
app := Application {
402
410
logger : zap .NewNop (),
403
411
configFactory : tt .configFactory ,
You can’t perform that action at this time.
0 commit comments