travis: attempt to make tests less flaky
This commit is contained in:
parent
a722e6e244
commit
01fe4e5729
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue