Skip to content

Commit

Permalink
contrib/IBM/sarama.v1: skip integration test if env variable is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
rarguelloF committed Jan 16, 2025
1 parent c27f098 commit c3c1801
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrib/IBM/sarama.v1/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 c3c1801

Please sign in to comment.