👓 What did you see?
Sometimes, I see this
--- FAIL: TestFeatures (0.00s)
--- FAIL: TestFeatures/Eat_5_out_of_12 (0.00s)
suite.go:527: you cannot eat 5 godogs, there are 0 available
godogs_test.go:48: zero status code expected, 1 received
Sometimes, I see PASS.
✅ What did you expect to see?
PASS (every time)
📦 Which tool/library version are you using?
go version go1.19.2 linux/amd64
github.com/cucumber/godog v0.12.6
🔬 How could we reproduce it?
- clone this repo (https://github.com/cucumber/godog)
- cd _examples/godogs/
- open godogs_test.go
- in TestFeatures function, add
o.Concurrency = 2
- run
go test
📚 Any additional context?
I'm new to godog, so this may be working "as expected," but I couldn't find an example of using concurrency properly here.
👓 What did you see?
Sometimes, I see this
Sometimes, I see PASS.
✅ What did you expect to see?
PASS (every time)
📦 Which tool/library version are you using?
go version go1.19.2 linux/amd64
github.com/cucumber/godog v0.12.6
🔬 How could we reproduce it?
o.Concurrency = 2go test📚 Any additional context?
I'm new to godog, so this may be working "as expected," but I couldn't find an example of using concurrency properly here.