-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Improve testing mode and support in sdk-utils based tests (#1031)
* ✨ Add additional testing mode features - Support sabotaging remote logging connections - Track API requests and allow access to tracked requests - Allow setting a build error to propigate for failed requests * ✨ Update sdk-utils test helpers to work with testing mode * 🐛 Fix sdk-utils logging history entries - Store the full error stack trace when logging an error message - Include boolean error value in entry like core's logger * 🐛 Wait for first message when connecting to a remote logger This fixes an issue, especially in tests, where setting a loglevel may race to be overridden when immediately following a fresh remote connection * ✅ Ignore testing generic request error messages with sdk-utils This util is designed to only make requests to the CLI API only. Since the CLI API is always accessible for sdk-utils tests, there is never a missing response error message to allow the fallback message to be constructed from generic response properties. * 🚲 Change build-failure testing command name
- Loading branch information
Showing
8 changed files
with
306 additions
and
483 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
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.