← Back to Discord Forum

Sharding bug?


I currently have 320 tests, I am trying to shard them on 20 shards. But when run, 2 of the shards do not have any tests assigned. so they run and then shutdown.

If I run just 10 shards. It works flawlesly.

This thread is trying to answer question "Why are 2 out of 20 shards not having any tests assigned when sharding 320 tests?"

2 replies

sounds like fullyParallel (https://playwright.dev/docs/api/class-testconfig#test-config-fully-parallel) is not true so we cannot shard optimally. Could you try to set it to true?

@mxschmitt it indeed worked, thanks!

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.