From b966b06f1640518abe1c3919685d3f549ea5ee25 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Sun, 7 Jan 2018 22:05:14 +0200 Subject: [PATCH] Update another TINC test for removal of pg_filespace_entry. I'm not sure if we're going to keep these tests in the end, but might as well fix this for now. --- .../mpp/gpdb/tests/storage/walrepl/gpstate/test_gpstate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/walrepl/gpstate/test_gpstate.py b/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/walrepl/gpstate/test_gpstate.py index ad3af6a92f..30fdfeb24c 100644 --- a/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/walrepl/gpstate/test_gpstate.py +++ b/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/walrepl/gpstate/test_gpstate.py @@ -46,9 +46,9 @@ class GpstateTestCase(MPPTestCase): if stdby_presence: self.gputil.remove_standby() self.gputil.install_standby() - get_mirror_sql = '''select port, hostname, fselocation - from gp_segment_configuration, pg_filespace_entry - where dbid = fsedbid and content != -1 and preferred_role=\'m\' ;''' + get_mirror_sql = '''select port, hostname, datadir + from gp_segment_configuration + where content != -1 and preferred_role=\'m\' ;''' segments=self.gputil.run_SQLQuery(get_mirror_sql, dbname='template1') for seg in segments: port = seg[0] -- GitLab