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 — deps: migrate to mockito-core 3.12.4 by kolea2 · Pull Request #1008 · googleapis/java-bigtable

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

Conversation

@kolea2

@kolea2 kolea2 commented Sep 13, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

update mockito-all to mockito-core and use the latest version

Sorry, something went wrong.

Uh oh!

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

All reactions
@kolea2
[wip] migrate to mockito-core 3.12.4
6be48bd
@product-auto-label product-auto-label Bot added the api: bigtable Issues related to the googleapis/java-bigtable API. label Sep 13, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 13, 2021
kolea2 added 2 commits September 14, 2021 10:41
@kolea2
fix errors
04e088b
@kolea2
cleanup deprecated method use and mockito warnings
7a7c3d8
@kolea2 kolea2 changed the title [wip] deps: migrate to mockito-core 3.12.4 deps: migrate to mockito-core 3.12.4 Sep 14, 2021
@kolea2
kolea2 marked this pull request as ready for review September 14, 2021 15:29
@kolea2
kolea2 requested review from a team September 14, 2021 15:29
@kolea2
cleanup deprecated method use and mockito warnings
60a9aea
@kolea2 kolea2 added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Sep 14, 2021
@kolea2
cleanup deprecated method use and mockito warnings
f2b699a
@eaball35 eaball35 added automerge Merge the pull request once unit tests and other checks pass. kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Sep 14, 2021
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 14, 2021
eaball35
eaball35 approved these changes Sep 14, 2021
View reviewed changes
@eaball35 eaball35 removed the automerge Merge the pull request once unit tests and other checks pass. label Sep 14, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 14, 2021
@kolea2
cleanup deprecated method use and mockito warnings
e28f47e
igorbernstein2
igorbernstein2 approved these changes Sep 14, 2021
View reviewed changes

@igorbernstein2 igorbernstein2 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but please double check the comment below

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread ...-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClientTest.java
Timestamp endTime = Timestamp.newBuilder().setSeconds(5678).build();
String operationName = "my-operation";
RestoreTableRequest req = RestoreTableRequest.of(CLUSTER_ID, BACKUP_ID).setTableId(TABLE_ID);
Mockito.when(mockRestoreTableCallable.futureCall(req.toProto(PROJECT_ID, INSTANCE_ID)))

@igorbernstein2 igorbernstein2 Sep 14, 2021

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a bit confused why this can be removed?

Sorry, something went wrong.

Uh oh!

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

All reactions

@kolea2 kolea2 Sep 14, 2021

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems the only mock actually used in this test was mockRestoreTableOperationCallable. This was getting flagged as unused in a warning.

Sorry, something went wrong.

Uh oh!

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

All reactions

@igorbernstein2 igorbernstein2 Sep 14, 2021

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh it seems like its a duplicate of mockOperationResult below

Sorry, something went wrong.

Uh oh!

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

All reactions
@kolea2
kolea2 merged commit d9f19db into googleapis:master Sep 14, 2021
@kolea2
kolea2 deleted the mockito-core branch September 14, 2021 20:05
gcf-merge-on-green Bot pushed a commit that referenced this pull request Sep 22, 2021
@release-please
chore: release 2.1.3 (#1012)
4ef0dc2
🤖 I have created a release \*beep\* \*boop\*
---
### [2.1.3](https://www.github.com/googleapis/java-bigtable/compare/v2.1.2...v2.1.3) (2021-09-21)


### Dependencies

* migrate to mockito-core 3.12.4 ([#1008](https://www.github.com/googleapis/java-bigtable/issues/1008)) ([d9f19db](https://www.github.com/googleapis/java-bigtable/commit/d9f19db82f82615e4476462f9c34da7841169838))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.1 ([#1010](https://www.github.com/googleapis/java-bigtable/issues/1010)) ([a54a021](https://www.github.com/googleapis/java-bigtable/commit/a54a02135f30e3337812938f5794b293ee6535c6))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@igorbernstein2 igorbernstein2 igorbernstein2 approved these changes
@eaball35 eaball35 eaball35 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: bigtable Issues related to the googleapis/java-bigtable API. cla: yes This human has signed the Contributor License Agreement.

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.

4 participants

@kolea2 @igorbernstein2 @eaball35 @yoshi-kokoro
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.