-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish basic happy path query test scenarios
There are still a lot of TODO scenarios, but the ones remaining are the more advanced cases, e.g. where there we need to poll the chunk more than once, or where there's multiple chunks, plus preview mode. As part of this commit, I also refactored the non-Unmarshal related error wrapping code in `errors.go`. This was kind of a last minute panic thing, but it occurred to me that customers might want to be able to differentiate "job status" type errors like "Failed" or "Cancelled" from other fatals like "internal server error", in order to give their customers better error messaging. Things are in a pretty good state now. Tests passing on Linux and Windows.
- Loading branch information
Showing
4 changed files
with
316 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.