Closed karthikrg closed 9 months ago
Java 11+ has an optimization where parallelStream ignores the map operator if chained to a count for collections with known sizes. This obviously causes tests to fail because the method exits before the writes happen.
Switch to reduce to get around this.
Java 11+ has an optimization where parallelStream ignores the map operator if chained to a count for collections with known sizes. This obviously causes tests to fail because the method exits before the writes happen.
Switch to reduce to get around this.