travis: attempt to make tests less flaky

This commit is contained in:
Nolan Lawson 2018-04-11 09:19:29 -07:00
parent a722e6e244
commit 01fe4e5729

View file

@ -45,7 +45,7 @@ export async function restoreMastodonData () {
let internalIdsToIds = {}
for (let action of actions) {
console.log(JSON.stringify(action))
await new Promise(resolve => setTimeout(resolve, 100)) // sleep because otherwise order may not be preserved
await new Promise(resolve => setTimeout(resolve, 200)) // sleep because otherwise order may not be preserved
let accessToken = users[action.user].accessToken
if (action.post) {