Skip to content

Commit 03a56a5

Browse files
crobert-1Fiery-Fenix
authored andcommitted
[chore][receiver/haproxy] Skip test on Windows for now (open-telemetry#38866)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This is a temporary skip to get `main` green. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue open-telemetry#38860 <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.-->
1 parent 9a7e176 commit 03a56a5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

receiver/haproxyreceiver/scraper_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"net"
1010
"os"
1111
"path/filepath"
12+
"runtime"
1213
"testing"
1314

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

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

0 commit comments

Comments
 (0)