Skip to content

Commit b45e2da

Browse files
committed
More test output fixing
1 parent 5df29c3 commit b45e2da

File tree

2 files changed

+5
-23
lines changed

2 files changed

+5
-23
lines changed

expected/bidirectional.out

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -108,33 +108,18 @@ NOTICE: drop cascades to 1 other object
108108
t
109109
(1 row)
110110

111-
SELECT slot_name FROM pg_replication_slots WHERE database = current_database();
112-
slot_name
113-
--------------------------------------------
114-
pgl_postgres_test_provider_test_sube55bf37
115-
(1 row)
116-
117-
SELECT count(*) FROM pg_stat_replication WHERE application_name = 'test_bidirectional';
118-
count
119-
-------
120-
1
121-
(1 row)
122-
123111
SELECT pglogical.drop_subscription('test_bidirectional');
124112
drop_subscription
125113
-------------------
126114
1
127115
(1 row)
128116

129117
\c :subscriber_dsn
118+
\a
130119
SELECT slot_name FROM pg_replication_slots WHERE database = current_database();
131-
slot_name
132-
-----------
120+
slot_name
133121
(0 rows)
134-
135122
SELECT count(*) FROM pg_stat_replication WHERE application_name = 'test_bidirectional';
136-
count
137-
-------
138-
0
123+
count
124+
0
139125
(1 row)
140-

sql/bidirectional.sql

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,9 @@ SELECT pglogical.replicate_ddl_command($$
6565
DROP TABLE public.basic_dml CASCADE;
6666
$$);
6767

68-
SELECT slot_name FROM pg_replication_slots WHERE database = current_database();
69-
SELECT count(*) FROM pg_stat_replication WHERE application_name = 'test_bidirectional';
70-
7168
SELECT pglogical.drop_subscription('test_bidirectional');
7269

7370
\c :subscriber_dsn
74-
71+
\a
7572
SELECT slot_name FROM pg_replication_slots WHERE database = current_database();
7673
SELECT count(*) FROM pg_stat_replication WHERE application_name = 'test_bidirectional';

0 commit comments

Comments
 (0)