Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(bigtable): switch to cmp for comparison #4041

Merged
merged 5 commits into from May 3, 2021

Conversation

kolea2
Copy link
Contributor

@kolea2 kolea2 commented May 3, 2021

No description provided.

@kolea2 kolea2 requested review from crwilcox, tritone and a team as code owners May 3, 2021 17:05
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label May 3, 2021
@crwilcox
Copy link
Contributor

crwilcox commented May 3, 2021

For context my addition of EncryptionInfo, #3899, added a pointer to EncryptionInfo, which caused tests that compare values returned from listbackups and getbackup directly to fail. As the pointers are different, that failed. This method will allow our tests to compare values, not pointer addr.

@kolea2 kolea2 changed the title fix: add Equal to BackupInfo fix(bigtable): add Equal to BackupInfo May 3, 2021
bigtable/admin.go Outdated Show resolved Hide resolved
@kolea2 kolea2 changed the title fix(bigtable): add Equal to BackupInfo test(bigtable): switch to cmp for comparison May 3, 2021
Copy link
Member

@codyoss codyoss left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@kolea2 kolea2 added automerge Merge the pull request once unit tests and other checks pass. and removed automerge Merge the pull request once unit tests and other checks pass. labels May 3, 2021
@kolea2 kolea2 merged commit 2fd402b into googleapis:master May 3, 2021
@kolea2 kolea2 deleted the fix-backup-equal branch May 3, 2021 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants