Skip to content

Commit

Permalink
Fix unittest
Browse files Browse the repository at this point in the history
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
  • Loading branch information
dstdfx committed Apr 12, 2021
1 parent d569333 commit 5aff1d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion receiver/jaegerreceiver/trace_receiver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ func TestReception(t *testing.T) {
port := testutil.GetAvailablePort(t)
// 1. Create the Jaeger receiver aka "server"
config := &configuration{
CollectorHTTPPort: int(port), // that's the only one used by this test
CollectorHTTPPort: int(port),
CollectorHTTPSettings: confighttp.HTTPServerSettings{
Endpoint: fmt.Sprintf(":%d", port),
},
}
sink := new(consumertest.TracesSink)

Expand Down

0 comments on commit 5aff1d4

Please sign in to comment.