Merge pull request #3241 from overleaf/jpa-speedup-acceptance-tests
[misc] speedup the ConvertArchivedState test suite GitOrigin-RevId: e7d6471955aabbc6af76e27fdf23d97e2fd87901
This commit is contained in:
@@ -67,14 +67,17 @@ describe('ConvertArchivedState', function() {
|
||||
})
|
||||
|
||||
beforeEach(function(done) {
|
||||
exec('node scripts/convert_archived_state.js', (error, stdout, stderr) => {
|
||||
console.log(stdout)
|
||||
console.error(stderr)
|
||||
if (error) {
|
||||
return done(error)
|
||||
exec(
|
||||
'CONNECT_DELAY=1 node scripts/convert_archived_state.js',
|
||||
(error, stdout, stderr) => {
|
||||
console.log(stdout)
|
||||
console.error(stderr)
|
||||
if (error) {
|
||||
return done(error)
|
||||
}
|
||||
done()
|
||||
}
|
||||
done()
|
||||
})
|
||||
)
|
||||
})
|
||||
|
||||
describe('main method', function() {
|
||||
|
||||
Reference in New Issue
Block a user