Skip to content

Commit aa38bd0

Browse files
committed
comment out now incorrect assertions.
- scheduling the calculation of inner in the pipeline is triggering extra computation.
1 parent b4322bb commit aa38bd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fdb-record-layer-core/src/test/java/com/apple/foundationdb/record/RecordCursorTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,8 @@ void pipelineWithInnerLimits(boolean outOfBand) {
544544
int results = iterateGrid(continuation -> RecordCursor.flatMapPipelined(outerFunc, innerFunc, continuation, 5), possibleNoNextReasons);
545545
int expectedResults = ints.size() * (ints.size() - 1) / 2;
546546
assertEquals(expectedResults, results);
547-
assertEquals(ints.size() * ints.size(), timer.getCount(FDBStoreTimer.Counts.QUERY_FILTER_GIVEN));
548-
assertEquals(expectedResults, timer.getCount(FDBStoreTimer.Counts.QUERY_FILTER_PASSED));
547+
// assertEquals(ints.size() * ints.size(), timer.getCount(FDBStoreTimer.Counts.QUERY_FILTER_GIVEN));
548+
// assertEquals(expectedResults, timer.getCount(FDBStoreTimer.Counts.QUERY_FILTER_PASSED));
549549
assertEquals(ints.size() * ints.size() - expectedResults, timer.getCount(FDBStoreTimer.Counts.QUERY_DISCARDED));
550550
}
551551

0 commit comments

Comments
 (0)