Skip to content
New issue

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

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

Already on GitHub? # to your account

[Feature request] Running tests from a shard in a single instrumentation #509

Closed
edamyanov opened this issue Jan 5, 2018 · 6 comments
Closed

Comments

@edamyanov
Copy link
Contributor

In Spoon 2.x every test is run in a separate instrumentation call. When using sharding this has increased significantly the time for which tests are executed. Recently --single-instrumentation-call flag has been added but it runs all tests in a single instrumentation. I could not find an option to run only tests from a particular shard in a single instrumentation call.
Have you considered adding such an option so that only tests from a particular shard to be executed in a single instrumentation call (as it used to be with Spoon 1.x)?

@JakeWharton
Copy link
Collaborator

JakeWharton commented Jan 5, 2018 via email

@edamyanov
Copy link
Contributor Author

Yes, with pleasure!

@edamyanov
Copy link
Contributor Author

I created a PR for this issue but as I see @tchernykh has made another :)

@jaredsburrows
Copy link
Contributor

@edamyanov Will this solve the problem?

  • with out specifying singleInstrumentationCall = true - all reports are clobbered
  • specifying singleInstrumentationCall = true - no reports

@edamyanov
Copy link
Contributor Author

@jaredsburrows Unfortunately not but I will take a look if I can fix it.

@edenman
Copy link
Collaborator

edenman commented Mar 1, 2018

Should be fixed, lmk if not

@edenman edenman closed this as completed Mar 1, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants