-
Notifications
You must be signed in to change notification settings - Fork 13
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
Sh/refresh sandbox #973
Sh/refresh sandbox #973
Conversation
Setup: Pulled sfdx-core branch, linked into this branch and linked to sf ✅ don't provide a sandbox name -> should error
✅ resume with -w 1 -> should resume and timeout again if not completed ✅ refresh with -w 180 -> should poll for updates and auth when complete.
|
What does this PR do?
Adds a new command to refresh a sandbox.
Adds tests for the command.
What issues does this PR fix or reference?
@W-15042183@
NOTE: requires forcedotcom/sfdx-core#1031
Testing suggestions:
—async
-> should suggest a resume command and have a cache entry-w 1
-> should timeout and suggest a resume command and have a cache entry-w 1
-> should resume. If the refresh was already complete it should auth. If not it might timeout again.-w 180
-> should poll for updates and auth when complete.If you run
org list
when a sandbox has completed refreshing but the CLI hasn't authed to the sandbox after the refresh, it will report some auth error. You have to resume the sandbox refresh and have it auth for theorg list
to be successful.