36
36
import org .junit .AfterClass ;
37
37
import org .junit .Assert ;
38
38
import org .junit .BeforeClass ;
39
+ import org .junit .Ignore ;
39
40
import org .junit .Test ;
40
41
import org .junit .runner .RunWith ;
41
42
import org .junit .runners .JUnit4 ;
@@ -135,6 +136,7 @@ private static void safeDeleteJob(String jobName) {
135
136
}
136
137
}
137
138
139
+ @ Ignore ("Canceling jobs not yet GA" )
138
140
@ Test
139
141
public void createBatchCustomServiceAccountTest ()
140
142
throws IOException , ExecutionException , InterruptedException , TimeoutException {
@@ -148,6 +150,7 @@ public void createBatchCustomServiceAccountTest()
148
150
Assert .assertNotNull (job .getAllocationPolicy ().getServiceAccount ().getEmail ());
149
151
}
150
152
153
+ @ Ignore ("Canceling jobs not yet GA" )
151
154
@ Test
152
155
public void createBatchUsingSecretManager ()
153
156
throws IOException , ExecutionException , InterruptedException , TimeoutException {
@@ -164,6 +167,7 @@ public void createBatchUsingSecretManager()
164
167
-> taskGroup .getTaskSpec ().getEnvironment ().containsSecretVariables (variableName )));
165
168
}
166
169
170
+ @ Ignore ("Canceling jobs not yet GA" )
167
171
@ Test
168
172
public void createGpuJobTest ()
169
173
throws IOException , ExecutionException , InterruptedException , TimeoutException {
@@ -181,6 +185,7 @@ public void createGpuJobTest()
181
185
-> instance .getPolicy ().getMachineType ().contains (machineType )));
182
186
}
183
187
188
+ @ Ignore ("Canceling jobs not yet GA" )
184
189
@ Test
185
190
public void createGpuJobN1Test ()
186
191
throws IOException , ExecutionException , InterruptedException , TimeoutException {
@@ -199,6 +204,7 @@ public void createGpuJobN1Test()
199
204
-> accelerator .getType ().contains (gpuType ) && accelerator .getCount () == count )));
200
205
}
201
206
207
+ @ Ignore ("Canceling jobs not yet GA" )
202
208
@ Test
203
209
public void createLocalSsdJobTest ()
204
210
throws IOException , ExecutionException , InterruptedException , TimeoutException {
@@ -217,6 +223,7 @@ public void createLocalSsdJobTest()
217
223
-> attachedDisk .getDeviceName ().contains (LOCAL_SSD_NAME ))));
218
224
}
219
225
226
+ @ Ignore ("Canceling jobs not yet GA" )
220
227
@ Test
221
228
public void createPersistentDiskJobTest ()
222
229
throws IOException , ExecutionException , InterruptedException , TimeoutException {
@@ -243,6 +250,7 @@ public void createPersistentDiskJobTest()
243
250
-> attachedDisk .getDeviceName ().contains (NEW_PERSISTENT_DISK_NAME ))));
244
251
}
245
252
253
+ @ Ignore ("Canceling jobs not yet GA" )
246
254
@ Test
247
255
public void createBatchNotificationTest ()
248
256
throws IOException , ExecutionException , InterruptedException , TimeoutException {
@@ -263,6 +271,7 @@ public void createBatchNotificationTest()
263
271
&& jobNotification .getMessage ().getNewTaskState () == State .FAILED ));
264
272
}
265
273
274
+ @ Ignore ("Canceling jobs not yet GA" )
266
275
@ Test
267
276
public void createBatchCustomEventTest ()
268
277
throws IOException , ExecutionException , InterruptedException , TimeoutException {
@@ -284,6 +293,7 @@ public void createBatchCustomEventTest()
284
293
.anyMatch (runnable -> runnable .getDisplayName ().equals (displayName ))));
285
294
}
286
295
296
+ @ Ignore ("Canceling jobs not yet GA" )
287
297
@ Test
288
298
public void createScriptJobWithNfsTest ()
289
299
throws IOException , ExecutionException , InterruptedException , TimeoutException {
@@ -303,6 +313,7 @@ public void createScriptJobWithNfsTest()
303
313
.anyMatch (volume -> volume .getNfs ().getServer ().equals (NFS_IP_ADDRESS ))));
304
314
}
305
315
316
+ @ Ignore ("Canceling jobs not yet GA" )
306
317
@ Test
307
318
public void createBatchLabelJobTest ()
308
319
throws IOException , ExecutionException , InterruptedException , TimeoutException {
@@ -324,6 +335,7 @@ public void createBatchLabelJobTest()
324
335
Assert .assertTrue (job .getLabelsMap ().containsValue (labelValue2 ));
325
336
}
326
337
338
+ @ Ignore ("Canceling jobs not yet GA" )
327
339
@ Test
328
340
public void createBatchCustomNetworkTest ()
329
341
throws IOException , ExecutionException , InterruptedException , TimeoutException {
@@ -346,6 +358,7 @@ public void createBatchCustomNetworkTest()
346
358
.anyMatch (AllocationPolicy .NetworkInterface ::getNoExternalIpAddress ));
347
359
}
348
360
361
+ @ Ignore ("Canceling jobs not yet GA" )
349
362
@ Test
350
363
public void createJobWithAllocationPolicyLabelTest ()
351
364
throws IOException , ExecutionException , InterruptedException , TimeoutException {
@@ -368,6 +381,7 @@ public void createJobWithAllocationPolicyLabelTest()
368
381
Assert .assertTrue (job .getAllocationPolicy ().getLabelsMap ().containsValue (labelValue2 ));
369
382
}
370
383
384
+ @ Ignore ("Canceling jobs not yet GA" )
371
385
@ Test
372
386
public void createBatchRunnableLabelTest ()
373
387
throws IOException , ExecutionException , InterruptedException , TimeoutException {
0 commit comments