File tree Expand file tree Collapse file tree
src/test/java/com/google/cloud/bigquery/jdbc/it Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,7 +85,8 @@ run-it-standalone:
8585 -v " $( GOOGLE_APPLICATION_CREDENTIALS) .p12" :/auth/application_creds.p12 \
8686 -e " GOOGLE_APPLICATION_CREDENTIALS=/auth/application_creds.json" \
8787 -v $(SRC ) :/src \
88- -e " SA_EMAIL=test_email" \
88+ -e " SA_EMAIL=$( SA_EMAIL) " \
89+ -e " KMS_RESOURCE_PATH=$( KMS_RESOURCE_PATH) " \
8990 -e " SA_SECRET=/auth/application_creds.json" \
9091 -e " SA_SECRET_P12=/auth/application_creds.p12" \
9192 -e " BIGQUERY_BASE_URL=$( BIGQUERY_BASE_URL) " \
Original file line number Diff line number Diff line change 2626import static org .junit .jupiter .api .Assertions .assertTrue ;
2727
2828import com .google .cloud .ServiceOptions ;
29- import com .google .cloud .bigquery .BigQuery ;
30- import com .google .cloud .bigquery .BigQueryOptions ;
3129import com .google .cloud .bigquery .Job ;
3230import com .google .cloud .bigquery .JobInfo ;
3331import com .google .cloud .bigquery .QueryJobConfiguration ;
@@ -60,7 +58,6 @@ public class ITNightlyBigQueryTest extends ITBase {
6058 static final String PROJECT_ID = ServiceOptions .getDefaultProjectId ();
6159 static Connection bigQueryConnection ;
6260 static Statement bigQueryStatement ;
63- static BigQuery bigQuery ;
6461 private static final Random random = new Random ();
6562 private static final int randomNumber = random .nextInt (9999 );
6663 private static final String BASE_QUERY =
@@ -91,7 +88,6 @@ public static void beforeClass() throws SQLException {
9188 DATASET2 = ITBase .getSharedDataset2 ();
9289 bigQueryConnection = DriverManager .getConnection (connection_uri , new Properties ());
9390 bigQueryStatement = bigQueryConnection .createStatement ();
94- bigQuery = BigQueryOptions .newBuilder ().build ().getService ();
9591 }
9692
9793 @ AfterAll
You can’t perform that action at this time.
0 commit comments