From a659ac82c88735685bdd228abd5d306b16cafd88 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Fri, 20 Sep 2019 11:01:55 +0200 Subject: [PATCH] test: fix http disabling test The PR #1298 introduced a bug in the tests as it expected the span.type for outgoing http requests to start with `ext.*`. This was changed to `external.*` in the PR #1291, but #1298 was just never updated to be up to date with master before it was merged. --- test/instrumentation/modules/http/disabling.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/instrumentation/modules/http/disabling.js b/test/instrumentation/modules/http/disabling.js index a542fca9e1..01e8b6441a 100644 --- a/test/instrumentation/modules/http/disabling.js +++ b/test/instrumentation/modules/http/disabling.js @@ -35,7 +35,7 @@ if (cluster.isMaster) { function assertSpan (t, span) { t.ok(/GET localhost:\d+\//.test(span.name), 'span name') - t.equal(span.type, 'ext.http.http', 'span type') + t.equal(span.type, 'external.http.http', 'span type') } t.test('incoming enabled + outgoing enabled', makeTest({