Skip to content

Commit

Permalink
fix dir sema
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed May 15, 2023
1 parent fd38391 commit 87fad97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ async function main() {

// we only restrict 1 test per directory for
// legacy integration tests
if (!testType && dirSema === undefined) {
if (test.startsWith('test/integration') && dirSema === undefined) {
directorySemas.set(dirName, (dirSema = new Sema(1)))
}
if (dirSema) await dirSema.acquire()
Expand Down

0 comments on commit 87fad97

Please sign in to comment.