-
Notifications
You must be signed in to change notification settings - Fork 123
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
ci(spanner): improve performance of samples tests #3558
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,6 +146,8 @@ | |
<artifactId>maven-failsafe-plugin</artifactId> | ||
<version>3.5.2</version> | ||
<configuration> | ||
<forkCount>10</forkCount> | ||
<reuseForks>false</reuseForks> | ||
Comment on lines
+149
to
+150
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is. Currently we are runnings tests three times in all three modules. |
||
<systemPropertyVariables> | ||
<spanner.test.instance>java-sample-integration-tests</spanner.test.instance> | ||
<spanner.test.instance.mr>java-client-mr-integration-tests</spanner.test.instance.mr> | ||
|
@@ -157,6 +159,9 @@ | |
<spanner.sample.instance>mysample-instance</spanner.sample.instance> | ||
<spanner.quickstart.database>quick-db</spanner.quickstart.database> | ||
</systemPropertyVariables> | ||
<excludes> | ||
<exclude>**/SpannerSampleIT.java</exclude> | ||
</excludes> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -177,6 +177,8 @@ | |
<artifactId>maven-failsafe-plugin</artifactId> | ||
<version>3.5.2</version> | ||
<configuration> | ||
<forkCount>10</forkCount> | ||
<reuseForks>false</reuseForks> | ||
<systemPropertyVariables> | ||
<spanner.test.instance>java-sample-integration-tests</spanner.test.instance> | ||
<spanner.test.instance.mr>java-client-mr-integration-tests</spanner.test.instance.mr> | ||
|
@@ -187,6 +189,9 @@ | |
<spanner.sample.database>mysample</spanner.sample.database> | ||
<spanner.quickstart.database>quick-db</spanner.quickstart.database> | ||
</systemPropertyVariables> | ||
<excludes> | ||
<exclude>**/SpannerSampleIT.java</exclude> | ||
</excludes> | ||
Comment on lines
+192
to
+194
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I understand that this one is slow, but do we really want to skip it all-together? And/or will we have some other nightly job that overrides this configuration and does include this test? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am introducing a new job to run this test alone in parallel so that it can be completed in an hour. |
||
</configuration> | ||
</plugin> | ||
<plugin> | ||
|
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.
I don't think this does anything at the moment, as there are no integration tests defined in this project. Are we planning on adding tests here?
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 is. Currently we are runnings tests three times in all three modules.