Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update topic name for #452 #465

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions kafka/resource_kafka_topic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func TestAcc_BasicTopic(t *testing.T) {
if err != nil {
t.Fatal(err)
}
topicName := fmt.Sprintf("syslog-%s", u)
topicName := fmt.Sprintf("prd.syslog-%s", u)
bs := testBootstrapServers[0]
r.Test(t, r.TestCase{
ProviderFactories: overrideProviderFactory(),
Expand All @@ -41,7 +41,7 @@ func TestAcc_TopicConfigUpdate(t *testing.T) {
if err != nil {
t.Fatal(err)
}
topicName := fmt.Sprintf("syslog-%s", u)
topicName := fmt.Sprintf("prd.syslog-%s", u)
bs := testBootstrapServers[0]

r.Test(t, r.TestCase{
Expand Down Expand Up @@ -94,7 +94,7 @@ func TestAcc_TopicUpdatePartitions(t *testing.T) {
if err != nil {
t.Fatal(err)
}
topicName := fmt.Sprintf("syslog-%s", u)
topicName := fmt.Sprintf("prd.syslog-%s", u)
bs := testBootstrapServers[0]

r.Test(t, r.TestCase{
Expand All @@ -120,7 +120,7 @@ func TestAcc_TopicAlterReplicationFactor(t *testing.T) {
if err != nil {
t.Fatal(err)
}
topicName := fmt.Sprintf("syslog-%s", u)
topicName := fmt.Sprintf("prd.syslog-%s", u)
bs := testBootstrapServers[0]

keyEncoder := sarama.StringEncoder("same key -> same partition -> same ordering")
Expand Down
Loading