Skip to content

Commit

Permalink
fixup! fix(otlp-exporter-base): correctly handle successful requests
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc committed Aug 19, 2024
1 parent 1924217 commit 13b306a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@ describe('HttpExporterTransport', function () {

// assert
assert.strictEqual(result.status, 'failure');
assert.strictEqual(
assert.match(
(result as ExportResponseFailure).error.message,
'connect ECONNREFUSED 127.0.0.1:8081'
/^connect ECONNREFUSED .*/
);
});

Expand Down

0 comments on commit 13b306a

Please sign in to comment.