Skip to content

Commit

Permalink
update test to support 1.20 error message
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten committed Feb 14, 2023
1 parent ad9b3f3 commit e5fea26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/jmxreceiver/receiver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func TestBuildOTLPReceiverInvalidEndpoints(t *testing.T) {
{
"invalid OTLPExporterConfig.Endpoint host with 0 port",
Config{OTLPExporterConfig: otlpExporterConfig{Endpoint: ".:0"}},
"failed determining desired port from OTLPExporterConfig.Endpoint .:0: listen tcp: lookup .:",
"failed determining desired port from OTLPExporterConfig.Endpoint .:0: listen tcp: lookup .",
},
}
for _, test := range tests {
Expand Down

0 comments on commit e5fea26

Please sign in to comment.