Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
oceanbase
obdeploy
提交
f14d057b
O
obdeploy
项目概览
oceanbase
/
obdeploy
1 年多 前同步成功
通知
7
Star
73
Fork
132
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
obdeploy
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
f14d057b
编写于
11月 02, 2022
作者:
F
frf12
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
v1.6.0
上级
00ba59a7
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
26 addition
and
26 deletion
+26
-26
_repository.py
_repository.py
+4
-4
plugins/mysqltest/4.0.0.0/mysqltest_lib/psmalltest.py
plugins/mysqltest/4.0.0.0/mysqltest_lib/psmalltest.py
+22
-22
未找到文件。
_repository.py
浏览文件 @
f14d057b
...
...
@@ -172,7 +172,7 @@ class ParallerExtractWorker(object):
class
ParallerExtractor
(
object
):
MAX_PARALLER
=
cpu_count
()
MAX_PARALLER
=
cpu_count
()
if
cpu_count
()
else
8
def
__init__
(
self
,
pkg
,
files
,
stdio
=
None
):
self
.
pkg
=
pkg
...
...
@@ -182,9 +182,9 @@ class ParallerExtractor(object):
def
extract
(
self
):
workers
=
[]
file_num
=
len
(
self
.
files
)
paraler
=
min
(
self
.
MAX_PARALLER
,
file_num
)
size
=
min
(
100
,
file_num
/
paraler
)
size
=
max
(
10
,
size
)
paraler
=
int
(
min
(
self
.
MAX_PARALLER
,
file_num
)
)
size
=
min
(
100
,
int
(
file_num
/
paraler
)
)
size
=
int
(
max
(
10
,
size
)
)
index
=
0
while
index
<
file_num
:
p_index
=
index
+
size
...
...
plugins/mysqltest/4.0.0.0/mysqltest_lib/psmalltest.py
浏览文件 @
f14d057b
...
...
@@ -29,7 +29,7 @@ psmall_test=[
'static_engine.nested_loop_join_oracle'
,
'static_engine.merge_join'
,
'static_engine.merge_join_oracle'
,
#'static_engine.plan_cache_check_right',bug: https://work.aone.alibaba-inc.com/issue/27146709
'static_engine.explicit_cast'
,
'static_engine.expr_abs'
,
'static_engine.expr_add_months_oracle'
,
...
...
@@ -41,7 +41,7 @@ psmall_test=[
'static_engine.expr_ascii'
,
'static_engine.expr_bit_andor_oracle'
,
'static_engine.expr_bool'
,
# 'static_engine.expr_char', bug: https://work.aone.alibaba-inc.com/issue/27254079
'static_engine.expr_chr_oracle'
,
#'static_engine.expr_coalesce_oracle',
#'static_engine.expr_coalesce',
...
...
@@ -65,7 +65,7 @@ psmall_test=[
'static_engine.expr_initcap_oracle'
,
'static_engine.expr_insert'
,
'static_engine.expr_instr_oracle'
,
# 'static_engine.expr_int2ip', bug: https://work.aone.alibaba-inc.com/issue/27254079
'static_engine.expr_is_oracle'
,
'static_engine.expr_is_serving_tenant'
,
'static_engine.expr_is'
,
...
...
@@ -192,7 +192,7 @@ psmall_test=[
#'rowscn_oracle',
'execution_partition_pruning_mysql'
,
'execution_partition_pruning_oracle'
,
#'global_index.global_index_basic', bug:https://work.aone.alibaba-inc.com/issue/26845791
'part_mg.basic_partition_mg1'
,
'part_mg.basic_partition_mg_pg3'
,
'bulk_insert'
,
...
...
@@ -202,7 +202,7 @@ psmall_test=[
'global_index.global_index_lookup_3'
,
'global_index.global_index_lookup_4'
,
'global_index.global_index_lookup_5'
,
# 'global_index.global_index_lookup_6', bug: https://work.aone.alibaba-inc.com/issue/27142897
'empty_input'
,
'selectotherdb'
,
'special_hook'
,
...
...
@@ -210,7 +210,7 @@ psmall_test=[
'special_stmt'
,
'bug210026'
,
####'default_system_variable',
# 'system_variable', bug: https://work.aone.alibaba-inc.com/issue/27146709
####'java',
'escape'
,
'largetimeout'
,
...
...
@@ -298,9 +298,9 @@ psmall_test=[
'type_date.daylight_saving_time'
,
'intersect'
,
'join_null'
,
# 'delete', https://work.aone.alibaba-inc.com/issue/27208185
'identifier_name_length'
,
#'delete_from_mysql', bug: https://work.aone.alibaba-inc.com/issue/26823648
'delete.delete'
,
'delete.delete_from_mysql'
,
'type_date.datetime_java'
,
...
...
@@ -335,7 +335,7 @@ psmall_test=[
'fin'
,
'func_group_7'
,
'expr.expr_instr'
,
# 'insert.insert_and_update_not_null', https://work.aone.alibaba-inc.com/issue/27146709
'insert.insert_and_update_not_null_oracle'
,
#'auto_increment',
'autocommit'
,
...
...
@@ -348,8 +348,8 @@ psmall_test=[
####'join',
#'plan_cache.plan_cache_check_right',
#'plan_cache.plan_cache_basic',
# 'plan_cache.plan_cache_memory', bug: https://work.aone.alibaba-inc.com/issue/26853353
# 'plan_cache.work_area_mem', bug:https://work.aone.alibaba-inc.com/issue/26853353
'plan_cache.plan_cache_basic_oracle'
,
'plan_cache.plan_cache_select_list'
,
'plan_cache.plan_cache_select_list_oracle'
,
...
...
@@ -368,13 +368,13 @@ psmall_test=[
'add'
,
'minus'
,
'div'
,
# 'expr.add_oracle', bug: https://work.aone.alibaba-inc.com/issue/27305532
'expr.minus_oracle'
,
'expr.mul'
,
'expr.mul_oracle'
,
'expr.div_oracle'
,
'expr.expr_is_oracle'
,
# 'expr.expr_in_oracle', bug: https://work.aone.alibaba-inc.com/issue/27304553
'expr.expr_locate'
,
####'trx_basic',
'trx_timeout_bug'
,
...
...
@@ -502,7 +502,7 @@ psmall_test=[
'select.order_by_oracle'
,
'create_using_type'
,
'charset.underline_oracle'
,
# 'sql_alloc_count', bug: https://work.aone.alibaba-inc.com/issue/27146709
#'plan_base_line',
'topk'
,
'dist_nest_loop_simple'
,
...
...
@@ -531,11 +531,11 @@ psmall_test=[
'transformer.transformer_outer_join_simplification'
,
#'transformer.transformer_join_eliminate',
#'transformer.transformer_or_expansion',
#'transformer.transformer_other', bug:https://work.aone.alibaba-inc.com/issue/27051936
'transformer.transformer_predicate_deduce'
,
#'transformer.transformer_set_op',
'transformer.transformer_simplify'
,
#'transformer.transformer_subquery_pullup', bug:https://work.aone.alibaba-inc.com/issue/27132289
#'transformer.transformer_view_merge',
'transformer.transformer_add_limit_for_union_oracle'
,
#'transformer.transformer_aggregate_oracle',
...
...
@@ -544,7 +544,7 @@ psmall_test=[
#'transformer.transformer_join_eliminate_oracle',
#'transformer.transformer_limit_push_down_oracle',
#'transformer.transformer_or_expansion_oracle',
# 'transformer.transformer_other_oracle', #bug:https://work.aone.alibaba-inc.com/issue/27067628
'transformer.transformer_predicate_deduce_oracle'
,
#'transformer.transformer_set_op_oracle',
#'transformer.transformer_simplify_oracle',
...
...
@@ -552,7 +552,7 @@ psmall_test=[
'transformer.transformer_view_merge_oracle'
,
#'transformer.transformer_win_magic',
#'partition.ob_partition_list',
# 'partition.distributed_dml', # https://work.aone.alibaba-inc.com/issue/27734000
'partition.distributed_dml_oracle'
,
'global_index.global_index_select'
,
#'groupby.groupby_check_expr_oracle',
...
...
@@ -638,7 +638,7 @@ psmall_test=[
'px.join_nlj'
,
'px.join_pwj'
,
#'px.mj_early_termination',
#'px.parallel_execution', bug:https://work.aone.alibaba-inc.com/issue/26984764 https://work.aone.alibaba-inc.com/issue/27000920
'px.parallel_execution_oracle'
,
#'px.px_hint',
'px.sql_audit'
,
...
...
@@ -672,7 +672,7 @@ psmall_test=[
#'part_mg.basic_partition_mg3',
#'part_mg.basic_partition_mg4',
'foreign_key.dml_147'
,
#'foreign_key.dml_210', bug: https://work.aone.alibaba-inc.com/issue/27309297
#'connect_oracle',
'expr.func_without_param_oracle'
,
'update_column_use_other_oracle'
,
...
...
@@ -682,8 +682,8 @@ psmall_test=[
'negation_elimination_oracle'
,
'order_by_sortkey_oracle'
,
'update_for_oracle'
,
# 'update', bug: https://work.aone.alibaba-inc.com/issue/26845524
# 'update_oracle', bug: https://work.aone.alibaba-inc.com/issue/26849092
'trx_for_update_oracle'
,
'trans_ac_oracle'
,
'sfu_oracle'
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录