Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
Shardingsphere
提交
38b3f602
Shardingsphere
项目概览
apache
/
Shardingsphere
通知
56
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Shardingsphere
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
38b3f602
编写于
8月 29, 2019
作者:
W
wgy8283335
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Modify test cases for "digest".
上级
9fc2e916
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
1 addition
and
18 deletion
+1
-18
sharding-orchestration/sharding-orchestration-core/src/test/java/org/apache/shardingsphere/orchestration/internal/keygen/LeafSegmentKeyGeneratorTest.java
...stration/internal/keygen/LeafSegmentKeyGeneratorTest.java
+1
-18
未找到文件。
sharding-orchestration/sharding-orchestration-core/src/test/java/org/apache/shardingsphere/orchestration/internal/keygen/LeafSegmentKeyGeneratorTest.java
浏览文件 @
38b3f602
...
...
@@ -58,7 +58,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"step"
,
"5"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"test_table_1"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -76,7 +75,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"step"
,
"3"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"test_table_6"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -94,7 +92,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"step"
,
"7"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"test_table_7"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -114,7 +111,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"step"
,
"3"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"test_table_2"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -140,7 +136,7 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"step"
,
"3"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"digest"
,
"
name:123456
"
);
properties
.
setProperty
(
"leafKey"
,
"test_table_3"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -165,7 +161,6 @@ public final class LeafSegmentKeyGeneratorTest {
Properties
properties
=
new
Properties
();
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"test_table_4"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -190,7 +185,6 @@ public final class LeafSegmentKeyGeneratorTest {
Properties
properties
=
new
Properties
();
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"step"
,
"3"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"test_table_5"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -214,7 +208,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"step"
,
String
.
valueOf
(-
1L
));
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"test_table_9"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -227,7 +220,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"step"
,
String
.
valueOf
(
0L
));
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"test_table_10"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -240,7 +232,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"step"
,
String
.
valueOf
(
Long
.
MAX_VALUE
));
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"test_table_11"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -253,7 +244,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"step"
,
"3"
);
properties
.
setProperty
(
"initialValue"
,
String
.
valueOf
(-
1L
));
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"test_table_12"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -266,7 +256,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"step"
,
"3"
);
properties
.
setProperty
(
"initialValue"
,
String
.
valueOf
(
Long
.
MAX_VALUE
));
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"test_table_13"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -278,7 +267,6 @@ public final class LeafSegmentKeyGeneratorTest {
Properties
properties
=
new
Properties
();
properties
.
setProperty
(
"step"
,
"3"
);
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"test_table_14"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -291,7 +279,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
""
);
properties
.
setProperty
(
"step"
,
"3"
);
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"test_table_15"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -304,7 +291,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"step"
,
"3"
);
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"/test_table_16"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -317,7 +303,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"step"
,
"3"
);
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
""
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
@@ -330,7 +315,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"step"
,
"3"
);
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
leafSegmentKeyGenerator
.
generateKey
();
...
...
@@ -342,7 +326,6 @@ public final class LeafSegmentKeyGeneratorTest {
properties
.
setProperty
(
"serverList"
,
"127.0.0.1:2181"
);
properties
.
setProperty
(
"step"
,
"3"
);
properties
.
setProperty
(
"initialValue"
,
"100001"
);
properties
.
setProperty
(
"digest"
,
""
);
properties
.
setProperty
(
"leafKey"
,
"/test_table_17"
);
properties
.
setProperty
(
"registryCenterType"
,
"ThirdTestRegistryCenter"
);
leafSegmentKeyGenerator
.
setProperties
(
properties
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录