Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
bb532dec
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
bb532dec
编写于
4月 19, 2019
作者:
K
Kalen Krempely
提交者:
Kalen Krempely
4月 23, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
gpactivatestandby: add multi-host tablespace test
上级
b81ee6cd
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
52 addition
and
4 deletion
+52
-4
concourse/pipelines/gpdb_master-generated.yml
concourse/pipelines/gpdb_master-generated.yml
+29
-1
concourse/pipelines/templates/gpdb-tpl.yml
concourse/pipelines/templates/gpdb-tpl.yml
+1
-1
gpMgmt/test/behave/mgmt_utils/gpactivatestandby.feature
gpMgmt/test/behave/mgmt_utils/gpactivatestandby.feature
+22
-2
未找到文件。
concourse/pipelines/gpdb_master-generated.yml
浏览文件 @
bb532dec
...
...
@@ -12,7 +12,7 @@
## file (example: templates/gpdb-tpl.yml) and regenerate the pipeline
## using appropriate tool (example: gen_pipeline.py -t prod).
## ----------------------------------------------------------------------
## Generated by gen_pipeline.py at: 2019-04-22 1
1:39:53.092437
## Generated by gen_pipeline.py at: 2019-04-22 1
2:03:57.214092
## Template file: gpdb-tpl.yml
## OS Types: ['centos6', 'centos7', 'sles', 'win', 'ubuntu16']
## Test Sections: ['ICW', 'Replication', 'ResourceGroups', 'Interconnect', 'CLI', 'UD', 'Extensions', 'Gpperfmon']
...
...
@@ -1623,6 +1623,34 @@ jobs:
passed
:
[
gate_cli_start
]
-
get
:
gpdb6-centos6-test
-
aggregate
:
-
do
:
-
get
:
gpdb_binary
resource
:
bin_gpdb_centos6
passed
:
[
gate_cli_start
]
trigger
:
true
-
get
:
ccp_src
-
get
:
ccp-image
-
put
:
terraform
params
:
<<
:
*ccp_default_params
vars
:
<<
:
*ccp_default_vars
-
task
:
gen_cluster
file
:
ccp_src/ci/tasks/gen_cluster.yml
params
:
<<
:
*ccp_gen_cluster_default_params
-
task
:
gpinitsystem
file
:
ccp_src/ci/tasks/gpinitsystem.yml
-
task
:
gpactivatestandby_concourse_cluster_tests
file
:
gpdb_src/concourse/tasks/run_behave.yml
image
:
ccp-image
params
:
BEHAVE_FLAGS
:
--tags=gpactivatestandby --tags=concourse_cluster
on_success
:
<<
:
*ccp_destroy
ensure
:
<<
:
*set_failed
-
do
:
-
get
:
bin_gpdb
resource
:
bin_gpdb_centos6
...
...
concourse/pipelines/templates/gpdb-tpl.yml
浏览文件 @
bb532dec
...
...
@@ -15,7 +15,7 @@
{
'
name'
:
'
replication_slots'
,
'
use_concourse_cluster'
:
false
},
{
'
name'
:
'
gpactivatestandby'
,
'
use_concourse_cluster'
:
fals
e
},
'
use_concourse_cluster'
:
tru
e
},
{
'
name'
:
'
gpinitstandby'
,
'
use_concourse_cluster'
:
false
},
{
'
name'
:
'
gpcheckcat'
,
...
...
gpMgmt/test/behave/mgmt_utils/gpactivatestandby.feature
浏览文件 @
bb532dec
...
...
@@ -68,9 +68,29 @@ Feature: gpactivatestandby
When
the user runs gpinitstandby with options
" "
Then
gpinitstandby should return a return code of 0
And
verify the standby master entries in catalog
When
the master goes down
Then
the user runs gpactivatestandby with options
" "
And
gpactivatestandby should return a return code of 0
And
verify the standby master is now acting as master
And
the tablespace is valid on the standby master
And
clean up and revert back to original master
########################### @concourse_cluster tests ###########################
# The @concourse_cluster tag denotes the scenario that requires a remote cluster
@concourse_cluster
Scenario
:
tablespaces work on a multi-host environment
Given
the database is running
And
the standby is not initialized
And
a tablespace is created with data
When
the user runs gpinitstandby with options
" "
Then
gpinitstandby should return a return code of 0
And
verify the standby master entries in catalog
When
the master goes down
And
the user runs gpactivatestandby with options
" "
Then
gpactivatestandby should return a return code of 0
Then
the user runs gpactivatestandby with options
" "
And
gpactivatestandby should return a return code of 0
And
verify the standby master is now acting as master
And
the tablespace is valid on the standby master
And
clean up and revert back to original master
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录