fix(runner): properly do concurrency

This commit is contained in:
Folke Lemaitre 2024-06-26 19:58:45 +02:00
parent 97f4df0824
commit 66a4170f0e
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 38 additions and 22 deletions

View file

@ -64,7 +64,7 @@ describe("runner", function()
local runner = Runner.new({ plugins = plugins, pipeline = { "test.test1", "test.skip", "test.test2" } })
runner:start()
runner:wait()
assert.equal(4, #runs)
assert.equal(4, #runs, runs)
end)
it("handles opts", function()