Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions receiver/haproxyreceiver/scraper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"net"
"os"
"path/filepath"
"runtime"
"testing"

"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -64,6 +65,9 @@ func Test_scraper_readStats(t *testing.T) {
}

func Test_scraper_readStatsWithIncompleteValues(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Test is failing due to t.TempDir usage on Windows. See https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/38860")
}
f := t.TempDir()
socketAddr := filepath.Join(f, "testhaproxy.sock")
l, err := net.Listen("unix", socketAddr)
Expand Down
Loading