shengdoupi commented on code in PR #25122:
URL: https://github.com/apache/shardingsphere/pull/25122#discussion_r1163599952
##########
features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/keygen/SnowflakeKeyGenerateAlgorithmTest.java:
##########
@@ -232,4 +232,10 @@ void assertSetMaxTolerateTimeDifferenceMilliseconds()
throws ReflectiveOperation
KeyGenerateAlgorithm algorithm =
TypedSPILoader.getService(KeyGenerateAlgorithm.class, "SNOWFLAKE",
PropertiesBuilder.build(new
Property("max-tolerate-time-difference-milliseconds", "1")));
assertThat(((Properties)
Plugins.getMemberAccessor().get(algorithm.getClass().getDeclaredField("props"),
algorithm)).getProperty("max-tolerate-time-difference-milliseconds"), is("1"));
}
+
Review Comment:
> Please keep the indentation of the blank line consistent with the previous
line.
Thanks! It's already fixed.
--
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]