Skip to content

Commit

Permalink
fix failing supervisor test
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaasman00 committed Oct 2, 2024
1 parent a191550 commit 12a8308
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/opampsupervisor/supervisor/supervisor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"net"
"os"
"path/filepath"
"runtime"
"sync/atomic"
"testing"
"time"
Expand Down Expand Up @@ -80,6 +81,9 @@ func Test_NewSupervisor(t *testing.T) {
}

func Test_NewSupervisorFailedStorageCreation(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Skipping test on Windows because chmod doesn't affect permissions on Windows, so this test won't work.")
}
cfg := setupSupervisorConfig(t)

dir := filepath.Dir(cfg.Storage.Directory)
Expand Down

0 comments on commit 12a8308

Please sign in to comment.