From 01fe4e57292cb6f0077d1620a7de5b9b57edd6e5 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Wed, 11 Apr 2018 09:19:29 -0700 Subject: [PATCH] travis: attempt to make tests less flaky --- bin/restore-mastodon-data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/restore-mastodon-data.js b/bin/restore-mastodon-data.js index f38c39b0..c59e60e2 100644 --- a/bin/restore-mastodon-data.js +++ b/bin/restore-mastodon-data.js @@ -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) {