Normalize tests: s/placement [0-9]+/placement xxxxx/g

pull/3336/head
Jelte Fennema 2020-01-03 11:42:48 +01:00
parent f21f00544e
commit 8b5fe8aa17
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
# In all tests, normalize worker ports, placement ids, and shard ids
s/localhost:[0-9]+/localhost:xxxxx/g
s/ port=[0-9]+ / port=xxxxx /g
#s/placement [0-9]+/placement xxxxx/g
s/placement [0-9]+/placement xxxxx/g
#s/shard [0-9]+/shard xxxxx/g
#s/assigned task [0-9]+ to node/assigned task to node/
#s/node group [12] (but|does)/node group \1/

View File

@ -1489,7 +1489,7 @@ SELECT user_id FROM items JOIN itemgroups ON (item_group = gid) WHERE user_id =
-- because the current implementation of COPY always opens one connection
-- per placement SELECTs have to use those connections for correctness
ALTER TABLE itemgroups ADD COLUMN last_update timestamptz;
ERROR: cannot perform DDL on placement 1200036, which has been read over multiple connections
ERROR: cannot perform DDL on placement xxxxx, which has been read over multiple connections
END;
BEGIN;
-- establish multiple connections to a node
@ -1507,7 +1507,7 @@ SELECT user_id FROM items JOIN itemgroups ON (item_group = gid) WHERE user_id =
-- perform a DDL command on a co-located reference table
ALTER TABLE usergroups ADD COLUMN last_update timestamptz;
ERROR: cannot perform DDL on placement 1200034 since a co-located placement has been read over multiple connections
ERROR: cannot perform DDL on placement xxxxx since a co-located placement has been read over multiple connections
END;
BEGIN;
-- make a modification over connection 1