Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ case ${JOB_TYPE} in
install_modules "${BUILD_SUBDIR}"
echo "Running in subdir: ${BUILD_SUBDIR}"
pushd "${BUILD_SUBDIR}"
EXTRA_PROFILE_OPT=""
else
EXTRA_PROFILE_OPT="-PbulkTests"
fi
echo "SUREFIRE_JVM_OPT: ${SUREFIRE_JVM_OPT}"
echo "EXTRA_PROFILE_OPT: ${EXTRA_PROFILE_OPT}"
retry_with_backoff 3 10 \
mvn test \
-B -ntp \
Expand All @@ -56,7 +60,7 @@ case ${JOB_TYPE} in
-Dflatten.skip=true \
-Danimal.sniffer.skip=true \
-Dmaven.wagon.http.retryHandler.count=5 \
-T 1C ${SUREFIRE_JVM_OPT}
${SUREFIRE_JVM_OPT} ${EXTRA_PROFILE_OPT}
RETURN_CODE=$?

if [[ -n "${BUILD_SUBDIR}" ]]
Expand Down
7 changes: 7 additions & 0 deletions java-bigquerystorage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,13 @@
<module>tutorials</module>
</modules>
</profile>
<!-- skip tests if bulkTests profile is enabled (when testing the rest of the monorepo) -->
<profile>
<id>bulkTests</id>
<properties>
<skipTests>true</skipTests>
</properties>
</profile>
</profiles>

</project>
11 changes: 10 additions & 1 deletion java-datastore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,4 +232,13 @@
<module>google-cloud-datastore-utils</module>
</modules>

</project>
<profiles>
<!-- skip tests if bulkTests profile is enabled (when testing the rest of the monorepo) -->
<profile>
<id>bulkTests</id>
<properties>
<skipTests>true</skipTests>
</properties>
</profile>
</profiles>
</project>
9 changes: 9 additions & 0 deletions java-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@
</plugins>
</pluginManagement>
</build>
<profiles>
<!-- skip tests if bulkTests profile is enabled (when testing the rest of the monorepo) -->
<profile>
<id>bulkTests</id>
<properties>
<skipTests>true</skipTests>
</properties>
</profile>
</profiles>

<modules>
<module>google-cloud-logging</module>
Expand Down
Loading