Skip to content

Commit 6fbc75f

Browse files
authored
fix(tests): replace removed pg_class fixture (#4116)
1 parent f7d3750 commit 6fbc75f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/suites/tenant/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
export const simpleQuery = 'SELECT 1;';
55
export const VISIBILITY_TIMEOUT = 10 * 1000;
66
export const longTableSelect = (limit?: number) =>
7-
'SELECT * FROM `.sys/pg_class`' + (limit ? ` LIMIT ${limit};` : ';');
7+
'SELECT x FROM AS_TABLE(AsList(AsStruct(ListFromRange(1, 10) AS x))) FLATTEN BY x' +
8+
(limit ? ` LIMIT ${limit};` : ';');
89

910
// 400 is pretty enough
1011
export const longRunningQuery = new Array(400).fill(simpleQuery).join('');

0 commit comments

Comments
 (0)