Skip to content

Commit

Permalink
feat: fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Neudegg <andrew.neudegg@finbourne.com>
  • Loading branch information
AndrewNeudegg committed Dec 28, 2020
1 parent 8fd1d12 commit 6118b56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/e2e/sink_test/basic_test.go
Expand Up @@ -33,15 +33,14 @@ func TestSmoke(t *testing.T) {
ServerConfiguration: sink.ServerConfiguration{
ToChan: mq,
},
ListenAddr: ":8080",
ListenAddr: ":8090",
MaxBodySize: 2097152,
})
go sinkServer.Serve(context.TODO())
defer sinkServer.Stop(context.TODO())
time.Sleep(time.Second)

client := SinkClient{
Addr: "http://localhost:8080",
Addr: "http://localhost:8090",
}

for i := 0; i < numEvents; i++ {
Expand All @@ -55,4 +54,5 @@ func TestSmoke(t *testing.T) {

assert.Equal(t, "/test/hello", resultantEvents[0].GetURI())
assert.Equal(t, numEvents, len(resultantEvents))
sinkServer.Stop(context.Background())
}

0 comments on commit 6118b56

Please sign in to comment.