-
Notifications
You must be signed in to change notification settings - Fork 27
PYT-1103 No error displayed by the dvp upload command when file upload job fails #95
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
Conversation
nhlien93
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
took a quick pass, I'll try to look again in a bit! looks overall good though.
tools/src/main/python/dlpx/virtualization/_internal/delphix_client.py
Outdated
Show resolved
Hide resolved
tools/src/test/python/dlpx/virtualization/_internal/commands/test_build.py
Show resolved
Hide resolved
tools/src/main/python/dlpx/virtualization/_internal/delphix_client.py
Outdated
Show resolved
Hide resolved
mothslaw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Ship it modulo others' comments.
832d8c0 to
6cf5dc0
Compare
|
Addressed feedback from Lindsey and Ravi. Added new formatting to the command after discussions with QA. |
ravi-cm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Pull request checklist
Please check if your PR fulfills the following requirements:
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
The dvp upload command issues an upload job to a Delphix Engine but does not wait for the upload to complete before returning. This can be problematic for both testing and end-users since we can't tell whether the upload job finished successfully or not.
What is the new behavior?
Introduce a wait flag in the dvp upload command that waits for the upload job to complete. We query the upload action and job every 5 seconds until the job succeeds, fails, or times out (60 min).
Does this introduce a breaking change?
Other information