Skip to content

Conversation

@arpan14
Copy link
Contributor

@arpan14 arpan14 commented Feb 8, 2023

  • Issue - spanner.it.ITClosedSessionTest: testTransactionManager failed #2206
  • Root Cause - In cases where we are receiving AbortedException, the retry delay is set as -1 for the exception. Negative value is not an acceptable input to Thread.sleep() method and hence we are getting IllegalArgumentException. This is resulting in flaky unit test behaviour.
arpan14 and others added 2 commits February 8, 2023 12:22
…od while retrying exceptions in unit tests. * For details on issue see - googleapis#2206
fix: prevent illegal negative timeout values into thread sleep() method while retrying exceptions in unit tests.
@arpan14 arpan14 requested a review from a team as a code owner February 8, 2023 09:33
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: spanner Issues related to the googleapis/java-spanner API. labels Feb 8, 2023
@rajatbhatta rajatbhatta added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 8, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 8, 2023
@rajatbhatta rajatbhatta added the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 8, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 8, 2023
@arpan14 arpan14 merged commit ce66098 into googleapis:main Feb 9, 2023
gcf-merge-on-green bot pushed a commit that referenced this pull request Feb 21, 2023
🤖 I have created a release *beep* *boop* --- ## [6.36.1](https://togithub.com/googleapis/java-spanner/compare/v6.36.0...v6.36.1) (2023-02-21) ### Bug Fixes * Prevent illegal negative timeout values into thread sleep() method while retrying exceptions in unit tests. ([#2268](https://togithub.com/googleapis/java-spanner/issues/2268)) ([ce66098](https://togithub.com/googleapis/java-spanner/commit/ce66098c7139ea13d5ea91cf6fbceb5c732b392d)) ### Dependencies * Update dependency com.google.api.grpc:proto-google-cloud-spanner-executor-v1 to v1.2.0 ([#2256](https://togithub.com/googleapis/java-spanner/issues/2256)) ([f0ca86a](https://togithub.com/googleapis/java-spanner/commit/f0ca86a0858bde84cc38f1ad8fae5f3c4f4f3395)) * Update dependency com.google.cloud:google-cloud-monitoring to v3.12.0 ([#2284](https://togithub.com/googleapis/java-spanner/issues/2284)) ([0be701a](https://togithub.com/googleapis/java-spanner/commit/0be701a8b59277f2cfb990a88e4f1dafcbafdd97)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.3.0 ([#2285](https://togithub.com/googleapis/java-spanner/issues/2285)) ([bb5d5c6](https://togithub.com/googleapis/java-spanner/commit/bb5d5c66e78812b943a85e0fd888e7021c11bde1)) * Update dependency com.google.cloud:google-cloud-trace to v2.11.0 ([#2286](https://togithub.com/googleapis/java-spanner/issues/2286)) ([3c80932](https://togithub.com/googleapis/java-spanner/commit/3c80932d577de0ea108e695d0a4e542fbfc01deb)) * Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.20 ([#2280](https://togithub.com/googleapis/java-spanner/issues/2280)) ([685d1ea](https://togithub.com/googleapis/java-spanner/commit/685d1ea1c3bf59cd71093a68c260276c605d835f)) * Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.20 ([#2281](https://togithub.com/googleapis/java-spanner/issues/2281)) ([f2aabc2](https://togithub.com/googleapis/java-spanner/commit/f2aabc24770d1b9c505dfc96b39fe81c6a0ad5a5)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/java-spanner API. size: xs Pull request size is extra small.

4 participants