Skip to content

Commit

Permalink
Fixed broken tests (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotirios Mantziaris committed May 28, 2020
1 parent 7ef6482 commit 2c6c55a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
5 changes: 0 additions & 5 deletions test/docker/kafka/consumer_group_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ import (
"github.com/stretchr/testify/require"
)

const (
groupTopic1 = "groupTopic1"
groupTopic2 = "groupTopic2"
)

func TestGroupConsume(t *testing.T) {
sent := []string{"one", "two", "three"}
chMessages := make(chan []string)
Expand Down
5 changes: 0 additions & 5 deletions test/docker/kafka/consumer_simple_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ import (
"github.com/stretchr/testify/require"
)

const (
simpleTopic1 = "simpleTopic1"
simpleTopic2 = "simpleTopic2"
)

func TestSimpleConsume(t *testing.T) {
sent := []string{"one", "two", "three"}
chMessages := make(chan []string)
Expand Down
6 changes: 6 additions & 0 deletions test/docker/kafka/kafka_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build integration

package kafka

import (
Expand All @@ -21,6 +23,10 @@ const (
kafkaHost = "localhost"
kafkaPort = "9092"
zookeeperPort = "2181"
simpleTopic1 = "simpleTopic1"
simpleTopic2 = "simpleTopic2"
groupTopic1 = "groupTopic1"
groupTopic2 = "groupTopic2"
)

func TestMain(m *testing.M) {
Expand Down

0 comments on commit 2c6c55a

Please sign in to comment.