RaigorJiang commented on code in PR #16867:
URL: https://github.com/apache/shardingsphere/pull/16867#discussion_r851992174


##########
shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-distsql/shardingsphere-shadow-distsql-handler/src/test/java/org/apache/shardingsphere/shadow/distsql/update/AlterShadowAlgorithmStatementUpdaterTest.java:
##########
@@ -54,16 +54,16 @@ public final class AlterShadowAlgorithmStatementUpdaterTest 
{
     public void assertExecuteDuplicateAlgorithm() throws DistSQLException {
         Properties prop = new Properties();
         prop.setProperty("type", "value");
-        AlterShadowAlgorithmStatement sqlStatement = createSQLStatement(new 
ShadowAlgorithmSegment("simpleNoteAlgorithm", new 
AlgorithmSegment("SIMPLE_NOTE", prop)),
-                new ShadowAlgorithmSegment("simpleNoteAlgorithm", new 
AlgorithmSegment("SIMPLE_NOTE", prop)));
+        AlterShadowAlgorithmStatement sqlStatement = createSQLStatement(new 
ShadowAlgorithmSegment("simpleNoteAlgorithm", new 
AlgorithmSegment("SIMPLE_HINT", prop)),
+                new ShadowAlgorithmSegment("simpleNoteAlgorithm", new 
AlgorithmSegment("SIMPLE_HINT", prop)));
         updater.checkSQLStatement(shardingSphereMetaData, sqlStatement, 
currentConfiguration);
     }
     
     @Test(expected = RequiredRuleMissedException.class)
     public void assertExecuteAlgorithmWithoutConfiguration() throws 
DistSQLException {
         Properties prop = new Properties();
         prop.setProperty("type", "value");
-        AlterShadowAlgorithmStatement sqlStatement = createSQLStatement(new 
ShadowAlgorithmSegment("simpleNoteAlgorithm", new 
AlgorithmSegment("SIMPLE_NOTE", prop)));
+        AlterShadowAlgorithmStatement sqlStatement = createSQLStatement(new 
ShadowAlgorithmSegment("simpleNoteAlgorithm", new 
AlgorithmSegment("SIMPLE_HINT", prop)));

Review Comment:
   Same: "simpleNoteAlgorithm"



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to