GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — test: fix ITDatabaseAdminTest failures by rahul2393 · Pull Request #2976 · googleapis/java-spanner
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Conversation
|
| ExecutionException e = | ||
| assertThrows(ExecutionException.class, () -> op.get(5, TimeUnit.MINUTES)); | ||
| assertThat(e.getMessage()).contains("Invalid field mask"); | ||
| SpannerException e = assertThrows(SpannerException.class, () -> op.get(5, TimeUnit.MINUTES)); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure that the error that is returned by op.get() will be an ExecutionException, and not a SpannerException. However, the underlying cause of the ExecutionException should be a SpannerException.
(The build also fails because this assertion fails, as the returned exception is an ExecutionException).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I have fixed the asserts.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* test: fix ITDatabaseAdminTest failures * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * exclude owlbot pre-processor run on kokoro config * remove reduntant assert * fix test --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.