Skip to content

Commit

Permalink
Reduce number of operations in RemoteFSTranslogTests.testConcurrentWr…
Browse files Browse the repository at this point in the history
…iteViewsAndSnapshot (#5789) (#5829)

Signed-off-by: Sachin Kale <[email protected]>
  • Loading branch information
sachinpkale authored Jan 11, 2023
1 parent 1408f81 commit 68d760d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -652,8 +652,8 @@ public void testConcurrentWritesWithVaryingSize() throws Throwable {
public void testConcurrentWriteViewsAndSnapshot() throws Throwable {
final Thread[] writers = new Thread[randomIntBetween(1, 3)];
final Thread[] readers = new Thread[randomIntBetween(1, 3)];
final int flushEveryOps = randomIntBetween(5, 100);
final int maxOps = randomIntBetween(200, 1000);
final int flushEveryOps = randomIntBetween(5, 10);
final int maxOps = randomIntBetween(20, 100);
final Object signalReaderSomeDataWasIndexed = new Object();
final AtomicLong idGenerator = new AtomicLong();
final CyclicBarrier barrier = new CyclicBarrier(writers.length + readers.length + 1);
Expand Down

0 comments on commit 68d760d

Please sign in to comment.