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

fix: call testService method to store testRunId #178

Merged
merged 2 commits into from
Jul 24, 2023

Conversation

mshanemc
Copy link
Contributor

What does this PR do?

the apex library writes a file when async test runs occur. We left that out when we re-did their commands.

What issues does this PR fix or reference?

forcedotcom/cli#2321
@W-13804720@

@mshanemc mshanemc requested a review from a team as a code owner July 21, 2023 16:23
@WillieRuemmele
Copy link
Contributor

QA Results


✅ : async test runs write output-dir file with test-run-id.txt file

 ➜  sf apex run test --output-dir my-async-res           
Run "sf apex get test -i 7077X00002VOofn -o test-qmnirfu5u0qb@example.com" to retrieve test results
Run with --synchronous or increase --wait timeout to wait for results.
➜  dreamhouse-lwc git:(main) ✗  hub:(DevHub) scratch:(test-qmnirfu5u0qb@example.com)
 ➜  gst 
On branch main
Your branch is up to date with 'origin/main'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	my-async-res/

 ➜  more my-async-res/test-run-id.txt 
7077X00002VOofn

✅ : writes on sync runs
✅ : writes correct format to output-dir

@WillieRuemmele WillieRuemmele merged commit fc15cbe into main Jul 24, 2023
9 checks passed
@iowillhoit iowillhoit deleted the sm/restore-testrunid-text-file branch July 27, 2023 15:45
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