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 {
61
61
.toURI ();
62
62
FileChannel channel = FileChannel .open (Paths .get (uri ), StandardOpenOption .READ );
63
63
64
- Flux <DataBuffer > flux = DataBufferUtils .read (channel , this .bufferFactory , 2 );
64
+ Flux <DataBuffer > flux = DataBufferUtils .read (channel , this .bufferFactory , 5 );
65
65
66
66
TestSubscriber
67
67
.subscribe (flux )
68
68
.assertNoError ()
69
69
.assertComplete ()
70
70
.assertValuesWith (
71
- stringConsumer ("fo" ), stringConsumer ("ob" ),
72
- stringConsumer ("ar" ), stringConsumer ("ba" ),
73
- stringConsumer ("zq" ), stringConsumer ("ux" )
71
+ stringConsumer ("fooba" ), stringConsumer ("rbazq" ),
72
+ stringConsumer ("ux" )
74
73
);
75
74
76
75
assertFalse (channel .isOpen ());
You can’t perform that action at this time.
0 commit comments