Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running workers creates multiple test runs #101

Closed
nak1 opened this issue Sep 12, 2023 · 6 comments
Closed

Running workers creates multiple test runs #101

nak1 opened this issue Sep 12, 2023 · 6 comments

Comments

@nak1
Copy link

nak1 commented Sep 12, 2023

Howdy!

When we run npx codeceptjs run-workers 3 --suites, it ends up creating 3 test runs. We are using suites and passing the suiteId in the config. Do you have any recommendations for how to resolve this?

Thanks!
nak1

@kobenguyent
Copy link
Owner

Hey @nak1 thanks for your question! So yeah it's still an issue cause CodeceptJS doesn't provide the events to handle that.

@nak1
Copy link
Author

nak1 commented Sep 29, 2023

So, I'm guessing that means, we have to live the multiple test runs until CodeceptJS provides the events. haha!

@kobenguyent
Copy link
Owner

Or maybe creating the test run manually and providing the test run id when executing tests for the time being.

@nak1
Copy link
Author

nak1 commented Sep 29, 2023

So, triggering the API to create a test run and then pass that into the set up / config before the actual execution. That makes sense. Thanks!

@kobenguyent
Copy link
Owner

Then I guess this resolves your issue now. Closing this for now.

@kobenguyent
Copy link
Owner

Just a heads-up @nak1 after this merge hopefully we don't have multiple test runs anymore.

#103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants