diff options
Diffstat (limited to 'jstests/ocsp/ocsp_retry_backoff.js')
-rw-r--r-- | jstests/ocsp/ocsp_retry_backoff.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/jstests/ocsp/ocsp_retry_backoff.js b/jstests/ocsp/ocsp_retry_backoff.js index 1be4def897d..ec23b4b13a5 100644 --- a/jstests/ocsp/ocsp_retry_backoff.js +++ b/jstests/ocsp/ocsp_retry_backoff.js @@ -31,11 +31,12 @@ let conn = MongoRunner.runMongod(ocsp_options); sleep(10000); -// validate that fetchAndStaple was invoked 5 times +// validate that fetchAndStaple was invoked at least 5 times in the 10+ seconds +// since the mongod process started. const FETCH_LOG_ID = 577164; assert.eq(true, - checkLog.checkContainsWithCountJson(conn, FETCH_LOG_ID, {}, 5), - 'Number of log lines with ID ' + FETCH_LOG_ID + ' does not match expected'); + checkLog.checkContainsWithAtLeastCountJson(conn, FETCH_LOG_ID, {}, 5), + 'Number of log lines with ID ' + FETCH_LOG_ID + ' is less than expected'); MongoRunner.stopMongod(conn); |