mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-19 18:01:30 +00:00
Merge pull request #22016 from overleaf/jpa-fix-flaky-test
[history-v1] back_fill_file_hash: fix typo in tests and add comments GitOrigin-RevId: a4055d7dd33ba584a2a86053470585f412392305
This commit is contained in:
parent
6de1817ef5
commit
1fca37af61
1 changed files with 5 additions and 2 deletions
|
@ -1020,8 +1020,11 @@ describe('back_fill_file_hash script', function () {
|
|||
filesRetries: 0,
|
||||
readFromGCSCount: 0,
|
||||
})
|
||||
expect(stats.filesRetries).to.be.greaterThan(0)
|
||||
expect(stats.filesRetries).to.be.greaterThan(STATS_ALL.readFromGCSCount)
|
||||
expect(stats.filesRetries).to.be.greaterThan(0, 'should have retried')
|
||||
expect(stats.readFromGCSCount).to.be.greaterThan(
|
||||
STATS_ALL.readFromGCSCount,
|
||||
'should have read more times from GCS compared to normal operations'
|
||||
)
|
||||
})
|
||||
|
||||
describe('full run CONCURRENCY=1', function () {
|
||||
|
|
Loading…
Reference in a new issue