@@ -281,6 +281,9 @@ public void testCorruptValuesHashFile() throws IOException {
281281 String expected = getStatements ().stream ().map (Object ::toString ).reduce ((a , b ) -> a + "\n " + b ).get ();
282282
283283 for (long i = 4 ; i < fileSize ; i ++) {
284+ if (i % 1024 == 0 ) {
285+ System .out .println ("Testing byte " + i );
286+ }
284287 restoreFile (dataDir , file );
285288 overwriteByteInFile (nativeStoreFile , i , 0x0 );
286289 repo .init ();
@@ -366,6 +369,9 @@ public void testCorruptValuesPoscDataFile() throws IOException {
366369 long fileSize = nativeStoreFile .length ();
367370
368371 for (long i = 4 ; i < fileSize ; i ++) {
372+ if (i % 1024 == 0 ) {
373+ System .out .println ("Testing byte " + i );
374+ }
369375 NativeStore .SOFT_FAIL_ON_CORRUPT_DATA_AND_REPAIR_INDEXES = true ;
370376 restoreFile (dataDir , file );
371377 overwriteByteInFile (nativeStoreFile , i , 0x0 );
@@ -413,6 +419,9 @@ public void testCorruptValuesSpocDataFile() throws IOException {
413419 long fileSize = nativeStoreFile .length ();
414420
415421 for (long i = 4 ; i < fileSize ; i ++) {
422+ if (i % 1024 == 0 ) {
423+ System .out .println ("Testing byte " + i );
424+ }
416425 restoreFile (dataDir , file );
417426 overwriteByteInFile (nativeStoreFile , i , 0x0 );
418427 repo .init ();
0 commit comments