Skip to content

Commit 4b9f400

Browse files
authored
Merge pull request #132 from shelfio/feature/FIX-stable-run-in-case-of-leftovers
2 parents 7b23bff + 48e883b commit 4b9f400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = async function () {
4040
promises.push(waitForLocalhost(port));
4141
}
4242

43-
const {TableNames: tableNames} = await Promise.race(promises);
43+
const [{TableNames: tableNames}] = await Promise.all(promises);
4444
await deleteTables(dynamoDB, tableNames); // cleanup leftovers
4545
} catch (err) {
4646
// eslint-disable-next-line no-console

0 commit comments

Comments
 (0)