Skip to content

Commit

Permalink
[chore] fix flaky test TestStartAndShutdownRemote #9113 (#19460)
Browse files Browse the repository at this point in the history
Fixes #9113
  • Loading branch information
atoulme authored Mar 14, 2023
1 parent f43e819 commit a7fffe7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension/jaegerremotesampling/extension_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func TestStartAndShutdownRemote(t *testing.T) {

// create the config, pointing to the mock server
cfg := testConfig()
cfg.GRPCServerSettings.NetAddr.Endpoint = "127.0.0.1:0"
cfg.Source.Remote = &configgrpc.GRPCClientSettings{
Endpoint: fmt.Sprintf("127.0.0.1:%d", lis.Addr().(*net.TCPAddr).Port),
WaitForReady: true,
Expand Down

0 comments on commit a7fffe7

Please sign in to comment.