Skip to content

Commit fa958ab

Browse files
author
liushengsong
committed
fix isolation2
1 parent 366f3e9 commit fa958ab

18 files changed

+61
-42
lines changed

src/test/isolation2/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ test_parallel_retrieve_cursor_extended_query_error: test_parallel_retrieve_curso
2929
$(CC) $(CPPFLAGS) $(rpath) -I$(top_builddir)/src/interfaces/libpq -L$(GPHOME)/lib -L$(top_builddir)/src/interfaces/libpq -o $@ $< -lpq
3030

3131
pg_regress.o:
32-
$(MAKE) -C $(top_builddir)/src/test/regress pg_regress.o
32+
$(MAKE) -C $(top_builddir)/src/test/regress install
3333
rm -f $@ && $(LN_S) $(top_builddir)/src/test/regress/pg_regress.o .
3434

3535
gpstringsubs.pl:

src/test/isolation2/expected/bitmap_index_crash.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ select count(*) from test_bitmap where type = 520;
111111
(1 row)
112112

113113
-- start_ignore
114-
! gpstop -rai;
114+
! gpstop -raf;
115115
-- end_ignore
116116

117117
0: select count(*) from test_bitmap where type = 520;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
-- start_ignore
2-
! gpconfig -c gp_enable_query_metrics -v on; ! gpstop -rai;
2+
! gpconfig -c gp_enable_query_metrics -v on; ! gpstop -raf;
33
-- end_ignore

src/test/isolation2/expected/resgroup/resgroup_auxiliary_tools_v1.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ERROR: language "plpython3u" already exists
2727

2828
! gpconfig -c runaway_detector_activation_percent -v 100;
2929

30-
! gpstop -rai;
30+
! gpstop -raf;
3131
-- end_ignore
3232

3333
-- after the restart we need a new connection to run the queries

src/test/isolation2/expected/resgroup/resgroup_auxiliary_tools_v2.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ERROR: language "plpython3u" already exists
2727

2828
! gpconfig -c runaway_detector_activation_percent -v 100;
2929

30-
! gpstop -rai;
30+
! gpstop -raf;
3131
-- end_ignore
3232

3333
-- after the restart we need a new connection to run the queries

src/test/isolation2/expected/resgroup/resgroup_cpuset_empty_default.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ALTER RESOURCE GROUP
3030

3131

3232
-- start_ignore
33-
! gpstop -rai;
33+
! gpstop -raf;
3434
-- end_ignore
3535

3636
-- Cleanup in a new connection as the default one is disconnected by gpstop

src/test/isolation2/expected/resgroup/resgroup_disable_resgroup.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
-- start_ignore
33
! gpconfig -r gp_resource_manager;
44

5-
! gpstop -rai;
5+
! gpstop -ra;
66

77
SHOW gp_resource_manager;
88
gp_resource_manager

src/test/isolation2/input/pg_basebackup.source

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-- start_matchsubs
2+
-- m/pg_basebackup: warning:.*/
3+
-- s/pg_basebackup: warning:.*//
4+
-- end_matchsubs
5+
16
-- When pg_basebackup runs with --slot and stream as wal-method
27
select pg_basebackup(address, dbid, port, true, 'some_replication_slot', '@testtablespace@/some_isolation2_pg_basebackup', false, 'stream') from gp_segment_configuration where content = 0 and role = 'p';
38

src/test/isolation2/output/pg_basebackup.source

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-- start_matchsubs
2+
-- m/pg_basebackup: warning:.*/
3+
-- s/pg_basebackup: warning:.*//
4+
-- end_matchsubs
5+
16
-- When pg_basebackup runs with --slot and stream as wal-method
27
select pg_basebackup(address, dbid, port, true, 'some_replication_slot', '@testtablespace@/some_isolation2_pg_basebackup', false, 'stream') from gp_segment_configuration where content = 0 and role = 'p';
38
pg_basebackup
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-- start_ignore
22
! gpconfig -c gp_enable_query_metrics -v on;
3-
! gpstop -rai;
3+
! gpstop -raf;
44
-- end_ignore

0 commit comments

Comments
 (0)