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

test: speed up ITDmlReturningTest - #3248

Merged
rahul2393 merged 1 commit into
mainfrom
speed-up-it-dml-returning-test
Aug 7, 2024
Merged

test: speed up ITDmlReturningTest#3248
rahul2393 merged 1 commit into
mainfrom
speed-up-it-dml-returning-test

Conversation

@olavloite

@olavloiteolavloite commented Aug 7, 2024

Copy link
Copy Markdown
Collaborator

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 googleapis/google-cloud-java#12257

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 teamAugust 7, 2024 08:54
@product-auto-labelproduct-auto-labelBot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. labels Aug 7, 2024
@rahul2393
rahul2393 merged commit 52f8684 into mainAug 7, 2024
@rahul2393
rahul2393 deleted the speed-up-it-dml-returning-test branch August 7, 2024 10:51
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spannerIssues related to the googleapis/java-spanner API.size: mPull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@olavloite@rahul2393