Skip to content

Spanner: Print stack trace in case of test case flake - #6151

Merged
skuruppu merged 1 commit into
googleapis:masterfrom
olavloite:spanner-flaky-gapic-test
Aug 28, 2019
Merged

Spanner: Print stack trace in case of test case flake#6151
skuruppu merged 1 commit into
googleapis:masterfrom
olavloite:spanner-flaky-gapic-test

Conversation

@olavloite

Copy link
Copy Markdown
Contributor

The test case com.google.cloud.spanner.spi.v1.GapicSpannerRpcTest.testCloseAllThreadsWhenClosingSpanner sometimes fails with no further information. This adds a stack trace of the hanging thread when it happens.
An example of a flaky failed build here: https://source.cloud.google.com/results/invocations/b472c233-c011-45c0-8b96-650ff6284bec/targets/cloud-devrel%2Fclient-libraries%2Fjava%2Fgoogle-cloud-java%2Fpresubmit%2Fjava8-win/log

@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 24, 2019
@olavloiteolavloite added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 26, 2019
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 26, 2019
@skuruppu
skuruppu merged commit 62405dd into googleapis:masterAug 28, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@olavloite@skuruppu@googlebot@yoshi-kokoro