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

Commit 7e9fcaa

Browse files
committed
chore: cleanup session pool
1 parent 82dfeb9 commit 7e9fcaa

20 files changed

Lines changed: 363 additions & 5680 deletions

observability-test/database.ts

Lines changed: 7 additions & 362 deletions
Large diffs are not rendered by default.

observability-test/observability.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const {
3939
SEMATTRS_DB_NAME,
4040
SEMATTRS_DB_SQL_TABLE,
4141
SEMATTRS_DB_STATEMENT,
42-
SEMATTRS_DB_SYSTEM,
4342
SEMATTRS_EXCEPTION_MESSAGE,
4443
} = require('@opentelemetry/semantic-conventions');
4544

observability-test/session-pool.ts

Lines changed: 0 additions & 218 deletions
This file was deleted.

observability-test/spanner.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ describe('EndToEnd', async () => {
226226
'Begin Transaction',
227227
'Transaction Creation Done',
228228
...cacheSessionEvents,
229+
'Using Session',
229230
'Starting stream',
230231
];
231232
await verifySpansAndEvents(

observability-test/transaction.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -547,9 +547,6 @@ describe('Transaction', () => {
547547
});
548548

549549
it('no error with unset `id`', done => {
550-
const expectedError = new Error(
551-
'Transaction ID is unknown, nothing to rollback.',
552-
);
553550
delete transaction.id;
554551

555552
transaction.rollback(err => {

0 commit comments

Comments
 (0)