JinyLeeChina commented on a change in pull request #6744:
URL: https://github.com/apache/dolphinscheduler/pull/6744#discussion_r745250021
##########
File path:
dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/SnowFlakeUtilsTest.java
##########
@@ -23,7 +23,8 @@
@Test
public void testNextId() {
try {
- for (int i = 0; i < 5; i++) {
+ for (int i = 0; i < 100; i++) {
+ Thread.sleep(1);
Review comment:
This is a UT test to see if a duplicate is generated in the next
millisecond
--
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]