Skip to content

Commit 7349805

Browse files
committed
chore: remove assumeTrue
1 parent 69b119b commit 7349805

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

java-bigquery-jdbc/src/test/java/com/google/cloud/bigquery/jdbc/it/ITOpenTelemetryTest.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import static org.junit.jupiter.api.Assertions.assertNotNull;
2222
import static org.junit.jupiter.api.Assertions.assertThrows;
2323
import static org.junit.jupiter.api.Assertions.assertTrue;
24-
import static org.junit.jupiter.api.Assumptions.assumeTrue;
2524

2625
import com.google.api.gax.paging.Page;
2726
import com.google.cloud.ServiceOptions;
@@ -61,9 +60,6 @@ private static class TelemetryContext {
6160

6261
@Test
6362
public void testExecute_withOpenTelemetryGcpExporter() throws Exception {
64-
assumeTrue(
65-
PROJECT_ID != null && !PROJECT_ID.trim().isEmpty(),
66-
"Skipping OTel E2E tests because no default Project ID is configured.");
6763

6864
// Step 1: Connect with GCP Exporters enabled via DataSource
6965
DataSource ds = DataSource.fromUrl(CONNECTION_URL);
@@ -136,9 +132,6 @@ public void testExecute_withOpenTelemetryGcpExporter() throws Exception {
136132

137133
@Test
138134
public void testExecute_withErrorCorrelation() throws Exception {
139-
assumeTrue(
140-
PROJECT_ID != null && !PROJECT_ID.trim().isEmpty(),
141-
"Skipping OTel E2E tests because no default Project ID is configured.");
142135

143136
// Step 1: Connect with GCP Exporters enabled via DataSource
144137
DataSource ds = DataSource.fromUrl(CONNECTION_URL);

0 commit comments

Comments
 (0)