Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion test/postgres/postgres-lock.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ const clients = [

describe('Postgres Lock', () => {
const lockTableName = `test_lock_${(Math.random() + 1).toString(36).substring(7).toLowerCase()}`;
const testSchema = `${(Math.random() + 1).toString(36).substring(7).toLowerCase()}`;
// Prefixed: an unquoted identifier may not start with a digit, and the random
// suffix sometimes does ("DROP SCHEMA IF EXISTS 15plv" is a syntax error).
const testSchema = `test_schema_${(Math.random() + 1).toString(36).substring(7).toLowerCase()}`;

describe.each(clients)('using $name', ({ create, queryMethod = 'query', onClose }) => {
let client;
Expand Down
Loading