-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testutils: capture Side-Eye snapshots in SucceedsSoon
Make testutils.SucceedsSoon() capture a snapshot of the test process with Side-Eye when the deadline expires. The idea is to help with debugging flaky unit tests, both locally and on CI: the snapshot should help us figure out where the operation that the test was waiting on has gotten stuck. The snapshot is generated if the SIDE_EYE_TOKEN environment variable is set (it should be set to our organization's API token). The test log will have a link to app.side-eye.io for visualizing the collected snapshot. In the future, perhaps we can use Side-Eye to also collect execution traces and CPU profiles for even more information. Epic: None Release note: None
- Loading branch information
1 parent
db1d1c0
commit 478bbe4
Showing
7 changed files
with
76 additions
and
8 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
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