Skip to content

Commit

Permalink
[exporter/elasticsearch] Skip TestExporter_PushTraceRecord flasky test (
Browse files Browse the repository at this point in the history
#14785)

Signed-off-by: jian.tan <[email protected]>
  • Loading branch information
JaredTan95 authored Oct 24, 2022
1 parent 0b65a68 commit 66dd4e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions exporter/elasticsearchexporter/traces_exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"errors"
"net/http"
"os"
"runtime"
"sync"
"testing"
"time"
Expand Down Expand Up @@ -132,6 +133,9 @@ func TestTracesExporter_New(t *testing.T) {
}

func TestExporter_PushTraceRecord(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("skipping test on Windows, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/14759")
}
t.Run("publish with success", func(t *testing.T) {
rec := newBulkRecorder()
server := newESTestServer(t, func(docs []itemRequest) ([]itemResponse, error) {
Expand Down

0 comments on commit 66dd4e5

Please sign in to comment.