File tree 1 file changed +4
-4
lines changed
server/src/test/java/org/opensearch/index
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -359,8 +359,8 @@ public void testRefreshInterval() {
359
359
}
360
360
361
361
public void testPublishCheckpointInterval () {
362
- String publishCheckpointInterval = getRandomTimeString ( true ) ;
363
- String lagTimeBeforeResendCheckpoint = getRandomTimeString ( true ) ;
362
+ String publishCheckpointInterval = "2s" ;
363
+ String lagTimeBeforeResendCheckpoint = "3s" ;
364
364
IndexMetadata metadata = newIndexMeta (
365
365
"index" ,
366
366
Settings .builder ()
@@ -386,8 +386,8 @@ public void testPublishCheckpointInterval() {
386
386
),
387
387
settings .getLagTimeBeforeResendCheckpoint ()
388
388
);
389
- String newPublishCheckpointInterval = getRandomTimeString ( true ) ;
390
- String newLagTimeBeforeResendCheckpoint = getRandomTimeString ( true ) ;
389
+ String newPublishCheckpointInterval = "4s" ;
390
+ String newLagTimeBeforeResendCheckpoint = "5s" ;
391
391
settings .updateIndexMetadata (
392
392
newIndexMeta (
393
393
"index" ,
You can’t perform that action at this time.
0 commit comments