This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new aa793061d42 Add more tests on ColumnValueMatchedShadowAlgorithm 
(#33575)
aa793061d42 is described below

commit aa793061d420aa1553d846554c47beb6f03b14e8
Author: Liang Zhang <[email protected]>
AuthorDate: Wed Nov 6 23:18:29 2024 +0800

    Add more tests on ColumnValueMatchedShadowAlgorithm (#33575)
---
 .../algorithm/shadow/column/PreciseColumnShadowValueFixtureBuilder.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/algorithm/shadow/column/PreciseColumnShadowValueFixtureBuilder.java
 
b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/algorithm/shadow/column/PreciseColumnShadowValueFixtureBuilder.java
index 2499858d761..09d3281f3cf 100644
--- 
a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/algorithm/shadow/column/PreciseColumnShadowValueFixtureBuilder.java
+++ 
b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/algorithm/shadow/column/PreciseColumnShadowValueFixtureBuilder.java
@@ -50,6 +50,7 @@ final class PreciseColumnShadowValueFixtureBuilder {
         result.add(new PreciseColumnShadowValue<>(shadowTable, 
ShadowOperationType.INSERT, shadowColumn, '2'));
         result.add(new PreciseColumnShadowValue<>(shadowTable, 
ShadowOperationType.INSERT, shadowColumn, new BigInteger("2")));
         result.add(new PreciseColumnShadowValue<>(shadowTable, 
ShadowOperationType.INSERT, shadowColumn, new BigDecimal("2")));
+        result.add(new PreciseColumnShadowValue<>(shadowTable, 
ShadowOperationType.INSERT, "invalid_col", new BigDecimal("2")));
         result.add(new PreciseColumnShadowValue<>(shadowTable, 
ShadowOperationType.UPDATE, shadowColumn, 1));
         result.add(new PreciseColumnShadowValue<>(shadowTable, 
ShadowOperationType.UPDATE, shadowColumn, 1L));
         result.add(new PreciseColumnShadowValue<>(shadowTable, 
ShadowOperationType.UPDATE, shadowColumn, "1"));

Reply via email to