提交 b81ee6cd 编写于 作者: K Kalen Krempely 提交者: Kalen Krempely

gpaddmirrors: add multi-host tablespace test

Co-authored-by: NJacob Champion <pchampion@pivotal.io>
上级 83f48aac
......@@ -58,6 +58,7 @@ Feature: Tests for gpaddmirrors
And the user runs "gpstop -aqM fast"
@concourse_cluster
Scenario: gpaddmirrors with a default master data directory
Given a working directory of the test as '/tmp/gpaddmirrors'
And the database is killed on hosts "mdw,sdw1"
......@@ -103,9 +104,26 @@ Feature: Tests for gpaddmirrors
And gpaddmirrors adds mirrors with temporary data dir
And an FTS probe is triggered
And the segments are synchronized
When user kills all primary processes with SIGTERM
When user kills all primary processes
And user can start transactions
Then verify that there is a "heap" table "public.heap_table" in "gptest" with "100" rows
Then verify that there is a "ao" table "public.ao_table" in "gptest" with "100" rows
Then verify that there is a "co" table "public.co_table" in "gptest" with "100" rows
And the user runs "gpstop -aqM fast"
@concourse_cluster
Scenario: tablespaces work on a multi-host environment
Given a working directory of the test as '/tmp/gpaddmirrors'
And the database is not running
And a cluster is created with no mirrors on "mdw" and "sdw1"
And a tablespace is created with data
When gpaddmirrors adds mirrors
Then verify the database has mirrors
When an FTS probe is triggered
And the segments are synchronized
Then the tablespace is valid
When user kills all primary processes
And user can start transactions
Then the tablespace is valid
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册