GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: flaky test issue due to AbortedException. by arpan14 · Pull Request #2925 · googleapis/java-spanner

This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Conversation

@arpan14

@arpan14 arpan14 commented Feb 23, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Fixes - #2133

By default AbortedException is not a retryable exception and hence getRetryDelayInMillis() will return -1. Hence, removing the assertion statement.

Error Trace

Caused by: expected not to be: -1
	at com.google.cloud.spanner.it.ITTransactionTest.lambda$readAbort$7(ITTransactionTest.java:341)
	at com.google.cloud.spanner.TransactionRunnerImpl.lambda$runInternal$0(TransactionRunnerImpl.java:986)
	at com.google.api.gax.retrying.DirectRetryingExecutor.submit(DirectRetryingExecutor.java:103)
	at com.google.cloud.RetryHelper.run(RetryHelper.java:76)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Arpan Mishra and others added 19 commits February 8, 2023 12:22
Arpan Mishra
fix: prevent illegal negative timeout values into thread sleep() meth…
edc5bbf
…od while retrying exceptions in unit tests.

* For details on issue see - googleapis#2206
@arpan14
Merge pull request #1 from arpan14/retryerror
49a85df
fix: prevent illegal negative timeout values into thread sleep() method while retrying exceptions in unit tests.
Arpan Mishra
Fixing lint issues.
4cd497b
@arpan14
Merge branch 'googleapis:main' into main
4a6aa8e
@arpan14
Merge branch 'googleapis:main' into main
b2aa09d
@arpan14
Merge branch 'googleapis:main' into main
8d6d71e
@arpan14
Merge branch 'googleapis:main' into main
77e6e7d
@arpan14
Merge branch 'googleapis:main' into main
e8b7fad
@arpan14
Merge branch 'googleapis:main' into main
8aa84e1
@arpan14
Merge branch 'googleapis:main' into main
57fd405
@arpan14
Merge branch 'googleapis:main' into main
1253563
@arpan14
Merge branch 'googleapis:main' into main
d4f6a60
@arpan14
Merge branch 'googleapis:main' into main
3efaf7c
@arpan14
Merge branch 'googleapis:main' into main
f41b39f
@arpan14
Merge branch 'googleapis:main' into main
7e3287f
@arpan14
Merge branch 'googleapis:main' into main
7edd24d
@arpan14
Merge branch 'googleapis:main' into main
fe3649b
@arpan14
Merge branch 'googleapis:main' into main
ae0dbc9
Arpan Mishra
fix: flaky test issue due to AbortedException.
991f930
@arpan14
arpan14 requested a review from a team February 23, 2024 13:11
@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 23, 2024
Arpan Mishra
chore: remove assertion.
953958a
olavloite
olavloite approved these changes Feb 23, 2024
View reviewed changes
@arpan14 arpan14 added the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 23, 2024
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 23, 2024
@arpan14
arpan14 merged commit cd34c1d into googleapis:main Feb 23, 2024
@arpan14
arpan14 deleted the flaky-test branch February 23, 2024 14:01
@release-please release-please Bot mentioned this pull request Feb 23, 2024
chore(main): release 6.61.0 #2926
Merged
gcf-merge-on-green Bot pushed a commit that referenced this pull request Mar 4, 2024
@release-please
chore(main): release 6.61.0 (#2926)
95bad55
🤖 I have created a release *beep* *boop*
---


## [6.61.0](https://togithub.com/googleapis/java-spanner/compare/v6.60.1...v6.61.0) (2024-03-04)


### Features

* Support float32 type ([#2894](https://togithub.com/googleapis/java-spanner/issues/2894)) ([19b7976](https://togithub.com/googleapis/java-spanner/commit/19b79764294e938ad85d02b7c0662db6ec3afeda))


### Bug Fixes

* Flaky test issue due to AbortedException. ([#2925](https://togithub.com/googleapis/java-spanner/issues/2925)) ([cd34c1d](https://togithub.com/googleapis/java-spanner/commit/cd34c1d3ae9a5a36f4d5516dcf7c3667a9cf015a))


### Dependencies

* Update dependency com.google.cloud:sdk-platform-java-config to v3.27.0 ([#2935](https://togithub.com/googleapis/java-spanner/issues/2935)) ([f8f835a](https://togithub.com/googleapis/java-spanner/commit/f8f835a9da705605c492e232a58276c39d1d7e6c))
* Update dependency org.json:json to v20240303 ([#2936](https://togithub.com/googleapis/java-spanner/issues/2936)) ([1d7044e](https://togithub.com/googleapis/java-spanner/commit/1d7044e97d16f5296b7de020cd24b11cbe2a7df0))


### Documentation

* Samples and tests for backup Admin APIs and overall spanner Admin APIs. ([#2882](https://togithub.com/googleapis/java-spanner/issues/2882)) ([de13636](https://togithub.com/googleapis/java-spanner/commit/de1363645e03f46deed5be41f90ddfed72766751))
* Update all public documents to use auto-generated admin clients. ([#2928](https://togithub.com/googleapis/java-spanner/issues/2928)) ([ccb110a](https://togithub.com/googleapis/java-spanner/commit/ccb110ad6835557870933c95cfd76580fd317a16))

---
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@olavloite olavloite olavloite approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@arpan14 @olavloite
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.