We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25ab243 commit d08d50dCopy full SHA for d08d50d
plugins/node/opentelemetry-instrumentation-pg/test/pg-pool.test.ts
@@ -491,7 +491,7 @@ describe('pg-pool', () => {
491
metricReader = testUtils.initMeterProvider(instrumentation);
492
});
493
494
- it('should generate `db.client.connection.count` and `db.client.connection.pending_requests` metrics', async () => {
+ it('should generate `db.client.connection.count` and `db.client.connection.pending_requests` metrics', done => {
495
pool.connect((err, client, release) => {
496
if (err) {
497
throw new Error(err.message);
@@ -563,6 +563,7 @@ describe('pg-pool', () => {
563
0,
564
'expected to have 0 pending requests'
565
);
566
+ done();
567
568
569
0 commit comments