Skip to content

Commit

Permalink
[v2] contrib/IBM/sarama.v1: skip integration test if env variable is …
Browse files Browse the repository at this point in the history
…not set (#3093)
  • Loading branch information
rarguelloF authored Jan 16, 2025
1 parent 5f5d66d commit bb4979d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrib/IBM/sarama/consumer_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ package sarama
import (
"context"
"log"
"os"
"sync"
"testing"

Expand All @@ -20,6 +21,10 @@ import (
)

func TestWrapConsumerGroupHandler(t *testing.T) {
if _, ok := os.LookupEnv("INTEGRATION"); !ok {
t.Skip("🚧 Skipping integration test (INTEGRATION environment variable is not set)")
}

mt := mocktracer.Start()
defer mt.Stop()

Expand Down

0 comments on commit bb4979d

Please sign in to comment.