Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
fa35b73f
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,发现更多精彩内容 >>
提交
fa35b73f
编写于
6月 09, 2018
作者:
A
Andreas Scherbaum
提交者:
Andreas Scherbaum
6月 09, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add start_ignore and end_ignore around all gp_inject_fault loads (#5097)
* Add start_ignore and end_ignore around all gp_inject_fault loads
上级
80b935dc
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
51 addition
and
7 deletion
+51
-7
src/test/regress/expected/cursor.out
src/test/regress/expected/cursor.out
+2
-0
src/test/regress/expected/errors-at-eox.out
src/test/regress/expected/errors-at-eox.out
+4
-0
src/test/regress/expected/fts_error.out
src/test/regress/expected/fts_error.out
+3
-1
src/test/regress/expected/fts_recovery_in_progress.out
src/test/regress/expected/fts_recovery_in_progress.out
+3
-1
src/test/regress/expected/gporca_faults.out
src/test/regress/expected/gporca_faults.out
+2
-0
src/test/regress/expected/gporca_faults_optimizer.out
src/test/regress/expected/gporca_faults_optimizer.out
+2
-0
src/test/regress/expected/ic.out
src/test/regress/expected/ic.out
+2
-0
src/test/regress/expected/psql_gp_commands.out
src/test/regress/expected/psql_gp_commands.out
+2
-0
src/test/regress/expected/python_processed64bit.out
src/test/regress/expected/python_processed64bit.out
+2
-2
src/test/regress/expected/query_finish_pending.out
src/test/regress/expected/query_finish_pending.out
+2
-0
src/test/regress/expected/segspace.out
src/test/regress/expected/segspace.out
+2
-0
src/test/regress/expected/zlib.out
src/test/regress/expected/zlib.out
+2
-0
src/test/regress/sql/cursor.sql
src/test/regress/sql/cursor.sql
+2
-0
src/test/regress/sql/errors-at-eox.sql
src/test/regress/sql/errors-at-eox.sql
+3
-0
src/test/regress/sql/fts_error.sql
src/test/regress/sql/fts_error.sql
+3
-1
src/test/regress/sql/fts_recovery_in_progress.sql
src/test/regress/sql/fts_recovery_in_progress.sql
+3
-1
src/test/regress/sql/gporca_faults.sql
src/test/regress/sql/gporca_faults.sql
+2
-0
src/test/regress/sql/ic.sql
src/test/regress/sql/ic.sql
+2
-0
src/test/regress/sql/psql_gp_commands.sql
src/test/regress/sql/psql_gp_commands.sql
+2
-0
src/test/regress/sql/query_finish_pending.sql
src/test/regress/sql/query_finish_pending.sql
+2
-1
src/test/regress/sql/segspace.sql
src/test/regress/sql/segspace.sql
+2
-0
src/test/regress/sql/zlib.sql
src/test/regress/sql/zlib.sql
+2
-0
未找到文件。
src/test/regress/expected/cursor.out
浏览文件 @
fa35b73f
--start_ignore
CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
--end_ignore
DROP TABLE if exists lu_customer;
NOTICE: table "lu_customer" does not exist, skipping
CREATE TABLE lu_customer (
...
...
src/test/regress/expected/errors-at-eox.out
浏览文件 @
fa35b73f
...
...
@@ -3,6 +3,10 @@
-- or ABORT processing. This test uses the fault injection mechanism
-- built in to the server, to induce an ERROR at strategic places.
--
-- start_ignore
CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
-- end_ignore
-- Create a plain table that we can insert to, to verify after the
-- transaction whether the transaction's effects are visible.
CREATE TABLE dtm_testtab(id int4);
...
...
src/test/regress/expected/fts_error.out
浏览文件 @
fa35b73f
create extension if not exists gp_inject_fault;
-- start_ignore
CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
-- end_ignore
select count(*) = 2 as in_sync from gp_segment_configuration
where content = 0 and mode = 's';
in_sync
...
...
src/test/regress/expected/fts_recovery_in_progress.out
浏览文件 @
fa35b73f
...
...
@@ -2,7 +2,9 @@
-- 'fts_conn_startup_packet' is used to simulate the primary responding
-- in-recovery to FTS, primary is not actually going through crash-recovery in
-- test.
create extension if not exists gp_inject_fault;
-- start_ignore
CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
-- end_ignore
select role, preferred_role, mode from gp_segment_configuration where content = 0;
role | preferred_role | mode
------+----------------+------
...
...
src/test/regress/expected/gporca_faults.out
浏览文件 @
fa35b73f
--
-- ORCA tests which require gp_fault_injector
--
-- start_ignore
CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
-- end_ignore
CREATE SCHEMA gporca_faults;
SET search_path = gporca_faults, public;
CREATE TABLE foo (a int, b int);
...
...
src/test/regress/expected/gporca_faults_optimizer.out
浏览文件 @
fa35b73f
--
-- ORCA tests which require gp_fault_injector
--
-- start_ignore
CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
-- end_ignore
CREATE SCHEMA gporca_faults;
SET search_path = gporca_faults, public;
CREATE TABLE foo (a int, b int);
...
...
src/test/regress/expected/ic.out
浏览文件 @
fa35b73f
...
...
@@ -4,7 +4,9 @@
* Parameter combination tests
* Improve code coverage tests
*/
-- start_ignore
CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
-- end_ignore
CREATE SCHEMA ic_udp_test;
SET search_path = ic_udp_test;
-- Prepare some tables
...
...
src/test/regress/expected/psql_gp_commands.out
浏览文件 @
fa35b73f
...
...
@@ -3,7 +3,9 @@
--
-- We just use gp_inject_fault as an example of an extension here. We don't
-- inject any faults.
-- start_ignore
CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
-- end_ignore
\dx gp_inject*
List of installed extensions
Name | Version | Schema | Description
...
...
src/test/regress/expected/python_processed64bit.out
浏览文件 @
fa35b73f
--start_ignore
--
start_ignore
CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
--end_ignore
--
end_ignore
--start_ignore
CREATE LANGUAGE plpythonu;
--end_ignore
...
...
src/test/regress/expected/query_finish_pending.out
浏览文件 @
fa35b73f
-- start_ignore
CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
-- end_ignore
NOTICE: extension "gp_inject_fault" already exists, skipping
drop table if exists _tmp_table;
NOTICE: table "_tmp_table" does not exist, skipping
...
...
src/test/regress/expected/segspace.out
浏览文件 @
fa35b73f
--
-- Tests the spill files disk space accounting mechanism
--
-- start_ignore
CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
-- end_ignore
-- check segspace before test
reset statement_mem;
select max(bytes) as max, min(bytes) as min from gp_toolkit.gp_workfile_mgr_used_diskspace;
...
...
src/test/regress/expected/zlib.out
浏览文件 @
fa35b73f
-- start_ignore
CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
-- end_ignore
DROP TABLE IF EXISTS test_zlib_hashjoin;
NOTICE: table "test_zlib_hashjoin" does not exist, skipping
CREATE TABLE test_zlib_hashjoin (i1 int, i2 int, i3 int, i4 int, i5 int, i6 int, i7 int, i8 int) WITH (APPENDONLY=true) DISTRIBUTED BY (i1) ;
...
...
src/test/regress/sql/cursor.sql
浏览文件 @
fa35b73f
-- start_ignore
CREATE
EXTENSION
IF
NOT
EXISTS
gp_inject_fault
;
-- end_ignore
DROP
TABLE
if
exists
lu_customer
;
CREATE
TABLE
lu_customer
(
...
...
src/test/regress/sql/errors-at-eox.sql
浏览文件 @
fa35b73f
...
...
@@ -3,6 +3,9 @@
-- or ABORT processing. This test uses the fault injection mechanism
-- built in to the server, to induce an ERROR at strategic places.
--
-- start_ignore
CREATE
EXTENSION
IF
NOT
EXISTS
gp_inject_fault
;
-- end_ignore
-- Create a plain table that we can insert to, to verify after the
-- transaction whether the transaction's effects are visible.
...
...
src/test/regress/sql/fts_error.sql
浏览文件 @
fa35b73f
create
extension
if
not
exists
gp_inject_fault
;
-- start_ignore
CREATE
EXTENSION
IF
NOT
EXISTS
gp_inject_fault
;
-- end_ignore
select
count
(
*
)
=
2
as
in_sync
from
gp_segment_configuration
where
content
=
0
and
mode
=
's'
;
-- Once this fault is hit, FTS process should abort current
...
...
src/test/regress/sql/fts_recovery_in_progress.sql
浏览文件 @
fa35b73f
...
...
@@ -2,7 +2,9 @@
-- 'fts_conn_startup_packet' is used to simulate the primary responding
-- in-recovery to FTS, primary is not actually going through crash-recovery in
-- test.
create
extension
if
not
exists
gp_inject_fault
;
-- start_ignore
CREATE
EXTENSION
IF
NOT
EXISTS
gp_inject_fault
;
-- end_ignore
select
role
,
preferred_role
,
mode
from
gp_segment_configuration
where
content
=
0
;
select
gp_inject_fault_infinite
(
'fts_conn_startup_packet'
,
'skip'
,
dbid
)
from
gp_segment_configuration
where
content
=
0
and
role
=
'p'
;
...
...
src/test/regress/sql/gporca_faults.sql
浏览文件 @
fa35b73f
...
...
@@ -2,7 +2,9 @@
-- ORCA tests which require gp_fault_injector
--
-- start_ignore
CREATE
EXTENSION
IF
NOT
EXISTS
gp_inject_fault
;
-- end_ignore
CREATE
SCHEMA
gporca_faults
;
SET
search_path
=
gporca_faults
,
public
;
...
...
src/test/regress/sql/ic.sql
浏览文件 @
fa35b73f
...
...
@@ -4,7 +4,9 @@
* Parameter combination tests
* Improve code coverage tests
*/
-- start_ignore
CREATE
EXTENSION
IF
NOT
EXISTS
gp_inject_fault
;
-- end_ignore
CREATE
SCHEMA
ic_udp_test
;
SET
search_path
=
ic_udp_test
;
...
...
src/test/regress/sql/psql_gp_commands.sql
浏览文件 @
fa35b73f
...
...
@@ -3,7 +3,9 @@
--
-- We just use gp_inject_fault as an example of an extension here. We don't
-- inject any faults.
-- start_ignore
CREATE
EXTENSION
IF
NOT
EXISTS
gp_inject_fault
;
-- end_ignore
\
dx
gp_inject
*
\
dx
+
gp_inject
*
...
...
src/test/regress/sql/query_finish_pending.sql
浏览文件 @
fa35b73f
-- start_ignore
CREATE
EXTENSION
IF
NOT
EXISTS
gp_inject_fault
;
-- end_ignore
drop
table
if
exists
_tmp_table
;
create
table
_tmp_table
(
i1
int
,
i2
int
,
i3
int
,
i4
int
);
...
...
src/test/regress/sql/segspace.sql
浏览文件 @
fa35b73f
...
...
@@ -2,7 +2,9 @@
-- Tests the spill files disk space accounting mechanism
--
-- start_ignore
CREATE
EXTENSION
IF
NOT
EXISTS
gp_inject_fault
;
-- end_ignore
-- check segspace before test
reset
statement_mem
;
...
...
src/test/regress/sql/zlib.sql
浏览文件 @
fa35b73f
-- start_ignore
CREATE
EXTENSION
IF
NOT
EXISTS
gp_inject_fault
;
-- end_ignore
DROP
TABLE
IF
EXISTS
test_zlib_hashjoin
;
CREATE
TABLE
test_zlib_hashjoin
(
i1
int
,
i2
int
,
i3
int
,
i4
int
,
i5
int
,
i6
int
,
i7
int
,
i8
int
)
WITH
(
APPENDONLY
=
true
)
DISTRIBUTED
BY
(
i1
)
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录