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: speed up ITDmlReturningTest #3248

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Conversation

olavloite
Copy link
Collaborator

@olavloite olavloite commented Aug 7, 2024

The initialization code for ITDmlReturningTest was borked and initialized the database over and over again for each test method. This pushes Spanner into throttling the DDL requests, which again makes both this and other integration tests slow.

This reduces the execution time for ITDmlReturningTest from 864.9s to 70.84s.

Updates #3247

The initialization code for ITDmlReturningTest was borked and initialized
the database over and over again for each test method. This pushes Spanner
into throttling the DDL requests, which again makes both this and other
integration tests slow.

Updates #3247
@olavloite olavloite requested a review from a team as a code owner August 7, 2024 08:54
@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 Aug 7, 2024
@olavloite olavloite requested a review from rahul2393 August 7, 2024 09:29
@rahul2393 rahul2393 merged commit 52f8684 into main Aug 7, 2024
33 checks passed
@rahul2393 rahul2393 deleted the speed-up-it-dml-returning-test branch August 7, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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