Skip to content

Commit

Permalink
[fix] skip Test_PushMetricsConcurrent when win25 and merge upstream/main
Browse files Browse the repository at this point in the history
  • Loading branch information
CodePrometheus committed Jan 9, 2025
1 parent 094749e commit 6e3438d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"io"
"net/http"
"net/http/httptest"
"os"
"strconv"
"sync"
"testing"
Expand All @@ -31,6 +32,9 @@ import (
// Test everything works when there is more than one goroutine calling PushMetrics.
// Today we only use 1 worker per exporter, but the intention of this test is to future-proof in case it changes.
func Test_PushMetricsConcurrent(t *testing.T) {
if os.Getenv("ImageOs") == "win25" && os.Getenv("GITHUB_ACTIONS") == "true" {
t.Skip("Skipping test on Windows 2025 GH runners, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/37104")
}
n := 1000
ms := make([]pmetric.Metrics, n)
testIDKey := "test_id"
Expand Down

0 comments on commit 6e3438d

Please sign in to comment.