Skip to content

Commit d73b7fb

Browse files
chore: make sure that integration tests only run as part of a profile (#94)
It seems like maven will run integration tests w/o a profile under some circumstances. So -Pbigtable-prod-it will still run the emulator integration tests. This PR will explicitly disable default integration tests and enable them in each profile. Please note that the emulator profile is still active by default, so integration tests will still run
1 parent e25758b commit d73b7fb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

google-cloud-bigtable/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@
225225
<goal>verify</goal>
226226
</goals>
227227
<configuration>
228+
<skip>false</skip>
229+
228230
<systemPropertyVariables>
229231
<bigtable.env>emulator</bigtable.env>
230232
<bigtable.grpc-log-dir>${project.build.directory}/test-grpc-logs/emulator-it</bigtable.grpc-log-dir>
@@ -256,6 +258,8 @@
256258
<goal>verify</goal>
257259
</goals>
258260
<configuration>
261+
<skip>false</skip>
262+
259263
<systemPropertyVariables>
260264
<bigtable.env>cloud</bigtable.env>
261265
<bigtable.data-endpoint>${bigtable.cfe-data-endpoint}</bigtable.data-endpoint>
@@ -289,6 +293,8 @@
289293
<goal>verify</goal>
290294
</goals>
291295
<configuration>
296+
<skip>false</skip>
297+
292298
<systemPropertyVariables>
293299
<bigtable.env>cloud</bigtable.env>
294300
<bigtable.data-endpoint>${bigtable.directpath-data-endpoint}</bigtable.data-endpoint>
@@ -350,6 +356,9 @@
350356
<plugin>
351357
<artifactId>maven-failsafe-plugin</artifactId>
352358
<configuration>
359+
<!-- enabled by profiles -->
360+
<skip>true</skip>
361+
353362
<parallel>classes</parallel>
354363
<forkCount>2C</forkCount>
355364
<reuseForks>true</reuseForks>

0 commit comments

Comments
 (0)