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

feat: subscribe to test run in progress with test:report command #200

Merged
merged 2 commits into from
Jun 2, 2021

Conversation

AnanyaJha
Copy link
Contributor

What does this PR do?

This PR addresses an issue where the force:apex:test:report command would throw an error on test runs that were still in progress. In this PR, we're now matching the previous CLI behavior by subscribing to test runs using the Streaming API and waiting to output the results. Test runs that are already complete should still return the results immediately.

What issues does this PR fix or reference?

#198, @W-9346853@

@AnanyaJha AnanyaJha requested a review from a team as a code owner June 1, 2021 21:02
@AnanyaJha AnanyaJha requested a review from randi274 June 1, 2021 21:02
@brpowell brpowell requested review from brpowell and removed request for randi274 June 1, 2021 22:09
@AnanyaJha AnanyaJha merged commit d7b2bdc into develop Jun 2, 2021
@AnanyaJha AnanyaJha deleted the aj/streamReport branch June 2, 2021 20:56
xyc pushed a commit that referenced this pull request Jun 3, 2021
jag-j pushed a commit that referenced this pull request Jun 3, 2021
klewis-sfdc pushed a commit that referenced this pull request Oct 24, 2022
WillieRuemmele pushed a commit that referenced this pull request Jan 31, 2023
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

Successfully merging this pull request may close these issues.

2 participants