Skip to content

Commit 83e3fdd

Browse files
committed
test: add skip new integration test if ENVARS are not defined.
1 parent bc4a804 commit 83e3fdd

File tree

1 file changed

+3
-0
lines changed
  • src/test/java/com/influxdb/v3/client/integration

1 file changed

+3
-0
lines changed

src/test/java/com/influxdb/v3/client/integration/E2ETest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,9 @@ public void testQueryRows() throws Exception {
278278
}
279279
}
280280

281+
@EnabledIfEnvironmentVariable(named = "TESTING_INFLUXDB_URL", matches = ".*")
282+
@EnabledIfEnvironmentVariable(named = "TESTING_INFLUXDB_TOKEN", matches = ".*")
283+
@EnabledIfEnvironmentVariable(named = "TESTING_INFLUXDB_DATABASE", matches = ".*")
281284
@Test
282285
public void testQueryRowWithOptions() throws Exception {
283286
try (InfluxDBClient client = InfluxDBClient.getInstance(

0 commit comments

Comments
 (0)