File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
source/P4VFS.UnitTest/Source Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1432,6 +1432,7 @@ public void SocketModelCommunicationTest()
14321432 const int maxPackageSize = 1 << 25 ; // 32*1024*1024 (32 MiB)
14331433 for ( int packageSize = 1 ; packageSize <= maxPackageSize ; packageSize <<= 5 )
14341434 {
1435+ VirtualFileSystemLog . Info ( "SocketModelCommunicationTest ReflectPackage size {0}" , packageSize ) ;
14351436 byte [ ] packageBytes = new byte [ packageSize ] ;
14361437 uint data = 0 ;
14371438 for ( int index = 0 ; index < packageSize ; ++ index )
@@ -1444,8 +1445,8 @@ public void SocketModelCommunicationTest()
14441445 data >>= 8 ;
14451446 }
14461447 byte [ ] receiveBytes = client . ReflectPackage ( packageBytes ) ;
1447- Assert ( receiveBytes . Length == packageBytes . Length ) ;
1448- Assert ( Array . Equals ( receiveBytes , packageBytes ) ) ;
1448+ Assert ( receiveBytes ? . Length == packageBytes . Length ) ;
1449+ Assert ( receiveBytes . SequenceEqual ( packageBytes ) ) ;
14491450 }
14501451
14511452 ServiceRestart ( ) ;
You can’t perform that action at this time.
0 commit comments