Skip to content

Commit

Permalink
Update LogShiftTailStressTest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
badrishc authored Dec 1, 2021
1 parent 03ff6ed commit 3f0a5b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cs/test/LogShiftTailStressTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void FasterLogShiftTailStressTest()
{
// Get an excruciatingly slow storage device to maximize chance of clogging the flush pipeline
device = new LocalMemoryDevice(1L << 28, 1 << 28, 2, sector_size: 512, latencyMs: 50, fileName: "stress.log");
var logSettings = new FasterLogSettings { LogDevice = device, LogChecksum = LogChecksumType.None, LogCommitManager = manager};
var logSettings = new FasterLogSettings { LogDevice = device, LogChecksum = LogChecksumType.None, LogCommitManager = manager, SegmentSizeBits = 28};
log = new FasterLog(logSettings);

byte[] entry = new byte[entryLength];
Expand Down Expand Up @@ -61,4 +61,4 @@ public void FasterLogShiftTailStressTest()
// We expect the test to finish and not get stuck somewhere
}
}
}
}

0 comments on commit 3f0a5b8

Please sign in to comment.