We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cef979 commit 2d6c3eaCopy full SHA for 2d6c3ea
src/test/java/org/fluentd/logger/sender/TestAsyncRawSocketSender.java
@@ -411,6 +411,7 @@ public void run() {
411
// check data
412
assertEquals(0, bufferFull.getCount());
413
// check elist size. But, it cannot detect correct elist size because async sender runs independently.
414
- assert(i - 5 <= elist.size()|| elist.size() < i + 5);
+ final int LOOSEN_CONSTRAINTS = 5;
415
+ assert(i - LOOSEN_CONSTRAINTS <= elist.size()|| elist.size() < i + LOOSEN_CONSTRAINTS);
416
}
417
0 commit comments