eagle-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wujinhu <...@git.apache.org>
Subject [GitHub] incubator-eagle pull request #706: [MINOR] Sleep 1 ms after versionId was ge...
Date Fri, 02 Dec 2016 03:00:55 GMT
Github user wujinhu commented on a diff in the pull request:

    https://github.com/apache/incubator-eagle/pull/706#discussion_r90580316
  
    --- Diff: eagle-core/eagle-alert-parent/eagle-alert/alert-metadata-parent/alert-metadata/src/test/java/org/apache/eagle/alert/metadata/impl/JdbcImplTest.java
---
    @@ -184,6 +184,11 @@ public void test_clearScheduleState() {
                 if (i >= 10 - maxCapacity) {
                     reservedOnes.add(versionId);
                 }
    +            try {
    +                Thread.sleep(1);
    +            } catch (Exception e) {
    --- End diff --
    
    What does this used for in ut?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message