Skip to content

Commit 2dcbcc9

Browse files
committed
fix tests
1 parent de8067a commit 2dcbcc9

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

examples/using-publisher/main_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ func TestMain(m *testing.M) {
2727
}
2828

2929
func TestExamplePublisherError(t *testing.T) {
30-
t.Setenv("PUBSUB_BROKER", "localhost:1012")
31-
3230
configs := testutil.NewServerConfigs(t)
3331
host := fmt.Sprint("http://localhost:", configs.HTTPPort)
3432

examples/using-subscriber/main_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ func TestMain(m *testing.M) {
2121
}
2222

2323
func TestMainInitialization(t *testing.T) {
24-
t.Setenv("PUBSUB_BROKER", "localhost:1012")
25-
2624
log := testutil.StdoutOutputForFunc(func() {
2725
go main()
2826

0 commit comments

Comments
 (0)