|
5 | 5 | * you may not use this file except in compliance with the License. |
6 | 6 | * You may obtain a copy of the License at |
7 | 7 | * |
8 | | - * http://www.apache.org/licenses/LICENSE-2.0 |
9 | | - * |
10 | | - * Unless required by applicable law or agreed to in writing, software |
11 | | - * distributed under the License is distributed on an "AS IS" BASIS, |
12 | | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 | | - * See the License for the specific language governing permissions and |
14 | | - * limitations under the License. |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
15 | 9 | * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
16 | 15 | */ |
17 | 16 |
|
18 | 17 | package com.google.cloud.storage; |
19 | 18 |
|
20 | 19 | import com.google.api.core.ApiClock; |
| 20 | +import com.google.auth.Credentials; |
| 21 | +import com.google.cloud.NoCredentials; |
21 | 22 | import com.google.cloud.storage.it.runner.StorageITRunner; |
22 | 23 | import com.google.cloud.storage.it.runner.annotations.Backend; |
23 | 24 | import com.google.cloud.storage.it.runner.annotations.Inject; |
@@ -66,6 +67,7 @@ public void setUp() { |
66 | 67 | StorageOptions.grpc() |
67 | 68 | .setHost(testBench.getGRPCBaseUri()) |
68 | 69 | .setProjectId("projectId") |
| 70 | + .setCredentials(NoCredentials.getInstance()) |
69 | 71 | .setOpenTelemetrySdk(openTelemetrySdk) |
70 | 72 | .build(); |
71 | 73 | } |
|
0 commit comments