Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

test: swap expected and actual values in DML returning tests.#2663

Merged
arpan14 merged 2 commits intogoogleapis:mainfrom
arpan14:flaky-test-fix
Oct 9, 2023
Merged

test: swap expected and actual values in DML returning tests.#2663
arpan14 merged 2 commits intogoogleapis:mainfrom
arpan14:flaky-test-fix

Conversation

@arpan14
Copy link
Copy Markdown
Contributor

@arpan14 arpan14 commented Oct 9, 2023

While debugging flaky issue - #2629 , it was noticed that ITDmlReturningTest is not using the right convention for assertEquals method. This PR swaps the value so that debugging readability is improved.

For ex - The following error message in the above issue is confusing due to this swap between expected/actual values.

java.lang.AssertionError: expected:<1> but was:<2>

@arpan14 arpan14 requested a review from a team October 9, 2023 08:40
@product-auto-label product-auto-label Bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. labels Oct 9, 2023
@arpan14 arpan14 requested a review from harshachinta October 9, 2023 08:57
Copy link
Copy Markdown
Contributor

@harshachinta harshachinta left a comment

Choose a reason for hiding this comment

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

LGTM

@arpan14 arpan14 added the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 9, 2023
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 9, 2023
@arpan14 arpan14 merged commit b475c0f into googleapis:main Oct 9, 2023
@arpan14 arpan14 deleted the flaky-test-fix branch October 9, 2023 11:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spanner Issues related to the googleapis/java-spanner API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants