flakyness test

pull/7154/head
Gokhan Gulbiz 2023-08-22 17:07:47 +03:00
parent b22ecb0e34
commit 784169cbe5
No known key found for this signature in database
GPG Key ID: 608EF06B6BD1B45B
2 changed files with 10 additions and 0 deletions

View File

@ -115,6 +115,13 @@ SELECT nodename, nodeport, COUNT(*)
localhost | 57638 | 2
(2 rows)
-- flakyness test
SELECT floor(random() * 2) + 1;
?column?
---------------------------------------------------------------------
2
(1 row)
RESET search_path;
SET client_min_messages TO WARNING;
DROP SCHEMA citus_drain_node CASCADE;

View File

@ -56,6 +56,9 @@ SELECT nodename, nodeport, COUNT(*)
WHERE placement.groupid = node.groupid
AND node.noderole = 'primary' GROUP BY nodename, nodeport ORDER BY 1,2;
-- flakyness test
SELECT floor(random() * 2) + 1;
RESET search_path;
SET client_min_messages TO WARNING;