You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team,
When we run the test class (sfdx force:apex:test:run -l RunLocalTests -u [email protected] -w 60 --json) with the CLI version 7.114.0 and earlier, we are getting the result as below while the test execution is happening at back-end:
{
"status":0,
"result": {
"testRunId": "thisIsTheTestId"
}
}
Here we are getting the Job ID and we can later find the report using the JOb ID (sfdx force:apex:test:report --testrunid thisIsTheTestId )
But in the CLI version 7.172.0 and latest this same command is not returning any Job ID/testRunId, and it seems that it is returning once the test execution is completed (which is not feasible if the customer's test classes ran for hours, since the customer will not be able to do anything else until test execution is completed)
Is there anything changed on this command with the latest CLI versions?
Any insight on this will be really helpful !
Summary
Note originally reported in slack.
Hi Team,
When we run the test class (
sfdx force:apex:test:run -l RunLocalTests -u [email protected] -w 60 --json
) with the CLI version 7.114.0 and earlier, we are getting the result as below while the test execution is happening at back-end:{
"status":0,
"result": {
"testRunId": "thisIsTheTestId"
}
}
Here we are getting the Job ID and we can later find the report using the JOb ID (sfdx force:apex:test:report --testrunid thisIsTheTestId )
But in the CLI version 7.172.0 and latest this same command is not returning any Job ID/testRunId, and it seems that it is returning once the test execution is completed (which is not feasible if the customer's test classes ran for hours, since the customer will not be able to do anything else until test execution is completed)
Is there anything changed on this command with the latest CLI versions?
Any insight on this will be really helpful !
plugins info for working and non-working versions
Expected result
Should return test id for querying the test run.
Actual result
No Test id is returned.
The text was updated successfully, but these errors were encountered: