File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
spring-core/src/test/java/org/springframework/core/io/buffer/support Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -61,16 +61,15 @@ public void readUnalignedChannel() throws Exception {
6161 .toURI ();
6262 FileChannel channel = FileChannel .open (Paths .get (uri ), StandardOpenOption .READ );
6363
64- Flux <DataBuffer > flux = DataBufferUtils .read (channel , this .bufferFactory , 2 );
64+ Flux <DataBuffer > flux = DataBufferUtils .read (channel , this .bufferFactory , 5 );
6565
6666 TestSubscriber
6767 .subscribe (flux )
6868 .assertNoError ()
6969 .assertComplete ()
7070 .assertValuesWith (
71- stringConsumer ("fo" ), stringConsumer ("ob" ),
72- stringConsumer ("ar" ), stringConsumer ("ba" ),
73- stringConsumer ("zq" ), stringConsumer ("ux" )
71+ stringConsumer ("fooba" ), stringConsumer ("rbazq" ),
72+ stringConsumer ("ux" )
7473 );
7574
7675 assertFalse (channel .isOpen ());
You can’t perform that action at this time.
0 commit comments