Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

test-trace-mysql: should work with connection pool access failed #1334

@flaky-bot

Description

@flaky-bot

This test failed!

To configure my behavior, see the Flaky Bot documentation.

If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.


commit: 5a2cc39
buildURL: Build Status, Sponge
status: failed

Test output
connect ECONNREFUSED 127.0.0.1:3306
Error: connect ECONNREFUSED 127.0.0.1:3306
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
    --------------------
    at Protocol._enqueue (test/plugins/fixtures/hapi-plugin-mysql3/node_modules/mysql/lib/protocol/Protocol.js:141:48)
    at Protocol.handshake (test/plugins/fixtures/hapi-plugin-mysql3/node_modules/mysql/lib/protocol/Protocol.js:52:41)
    at PoolConnection.connect (test/plugins/fixtures/hapi-plugin-mysql3/node_modules/mysql/lib/Connection.js:136:18)
    at Pool.getConnection (test/plugins/fixtures/hapi-plugin-mysql3/node_modules/mysql/lib/Pool.js:48:16)
    at Pool.getConnection_trace [as getConnection] (/workspace/src/plugins/plugin-mysql.ts:71:28)
    at Object.exports.register (test/plugins/fixtures/hapi-plugin-mysql3/node_modules/hapi-plugin-mysql/lib/index.js:52:27)
    at Object.target [as register] (test/plugins/fixtures/hapi16/node_modules/joi/lib/types/object/index.js:76:34)
    at each (test/plugins/fixtures/hapi16/node_modules/hapi/lib/plugin.js:318:14)
    at iterate (test/plugins/fixtures/hapi16/node_modules/items/lib/index.js:36:13)
    at Object.exports.serial (test/plugins/fixtures/hapi16/node_modules/items/lib/index.js:39:9)
    at module.exports.internals.Server.internals.Plugin.register (test/plugins/fixtures/hapi16/node_modules/hapi/lib/plugin.js:321:11)
    at Context.mocha_1.it.done (/workspace/test/test-mysql-pool.ts:40:14)

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.api: cloudtraceIssues related to the googleapis/cloud-trace-nodejs API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.priority:p3triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions