Skip to content

Commit

Permalink
[receiver/solace] Skip unit tests failing on Windows (open-telemetry#…
Browse files Browse the repository at this point in the history
…17198)

[receiver/solace] Skip unit tests fiailing on Windows

To unblock Windows CI
  • Loading branch information
dmitryax authored Dec 22, 2022
1 parent 0f57f29 commit 5909db4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions receiver/solacereceiver/receiver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"context"
"errors"
"fmt"
"runtime"
"sync"
"testing"
"time"
Expand Down Expand Up @@ -330,6 +331,9 @@ func TestReceiverUnmarshalVersionFailureExpectingDisable(t *testing.T) {
}

func TestReceiverFlowControlDelayedRetry(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Failing on windows, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/17197")
}
someError := consumererror.NewPermanent(fmt.Errorf("some error"))
testCases := []struct {
name string
Expand Down Expand Up @@ -453,6 +457,9 @@ func TestReceiverFlowControlDelayedRetryInterrupt(t *testing.T) {
}

func TestReceiverFlowControlDelayedRetryMultipleRetries(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Failing on windows, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/17197")
}
receiver, messagingService, unmarshaller := newReceiver(t)
// we won't wait 10 seconds since we will interrupt well before
retryInterval := 2 * time.Millisecond
Expand Down

0 comments on commit 5909db4

Please sign in to comment.