diff --git a/sharding-core/src/test/resources/yaml/optimize-rule.yaml b/sharding-core/src/test/resources/yaml/optimize-rule.yaml index 64e6b9d20c9f718dd826863620ed91c4778ad661..5c0a92f045d7d7e36845e7244c2cb20623d121f0 100644 --- a/sharding-core/src/test/resources/yaml/optimize-rule.yaml +++ b/sharding-core/src/test/resources/yaml/optimize-rule.yaml @@ -24,5 +24,5 @@ shardingRule: algorithmExpression: t_order_${order_id % 2} keyGenerator: column: order_id - className: io.shardingsphere.core.keygen.DefaultKeyGenerator + className: io.shardingsphere.core.keygen.SnowflakeKeyGenerator logicIndex: order_index diff --git a/sharding-core/src/test/resources/yaml/parser-rule.yaml b/sharding-core/src/test/resources/yaml/parser-rule.yaml index bf83a90653d26715d2929169ab0a85891055acde..5117bed6f7d0c6c504ed83dff56da01f28995a06 100644 --- a/sharding-core/src/test/resources/yaml/parser-rule.yaml +++ b/sharding-core/src/test/resources/yaml/parser-rule.yaml @@ -27,7 +27,7 @@ shardingRule: algorithmClassName: io.shardingsphere.api.algorithm.fixture.TestComplexKeysShardingAlgorithm keyGenerator: column: item_id - className: io.shardingsphere.core.keygen.DefaultKeyGenerator + className: io.shardingsphere.core.keygen.SnowflakeKeyGenerator t_place: actualDataNodes: db${0..1}.t_place tableStrategy: diff --git a/sharding-core/src/test/resources/yaml/sharding-rule.yaml b/sharding-core/src/test/resources/yaml/sharding-rule.yaml index 7b422a9cbb90d44bf9a8bde753003fe766f9597f..c0d89949560d760cde3b1640b7905764db072da1 100644 --- a/sharding-core/src/test/resources/yaml/sharding-rule.yaml +++ b/sharding-core/src/test/resources/yaml/sharding-rule.yaml @@ -63,7 +63,7 @@ shardingRule: algorithmExpression: t_order_${order_id % 2} keyGenerator: column: order_id - className: io.shardingsphere.core.keygen.DefaultKeyGenerator + className: io.shardingsphere.core.keygen.SnowflakeKeyGenerator logicIndex: order_index t_order_item: actualDataNodes: ds_${0..1}.t_order_item_${0..1}