stankiewicz commented on code in PR #33780:
URL: https://github.com/apache/beam/pull/33780#discussion_r1939075413
##########
sdks/java/harness/src/test/java/org/apache/beam/fn/harness/state/StateBackedIterableTest.java:
##########
@@ -269,7 +269,8 @@ public void testByteObservingStateBackedIterable() throws
Exception {
.sum();
observer.advance();
// 5 comes from size and hasNext (see IterableLikeCoder)
- assertEquals(iterateBytes + 5, observer.total);
+ // observer receives scaled
+ assertTrue(iterateBytes + 5 >= observer.total);
Review Comment:
it's more than 10 elements, added assert with tolerance.
--
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]