@@ -1099,6 +1099,7 @@ def test_use_spot(generic_cloud: str):
1099
1099
1100
1100
1101
1101
# ---------- Testing managed spot ----------
1102
+ @pytest .mark .managed_spot
1102
1103
def test_spot (generic_cloud : str ):
1103
1104
"""Test the spot yaml."""
1104
1105
name = _get_cluster_name ()
@@ -1125,6 +1126,7 @@ def test_spot(generic_cloud: str):
1125
1126
1126
1127
# ---------- Testing managed spot recovery ----------
1127
1128
@pytest .mark .aws
1129
+ @pytest .mark .managed_spot
1128
1130
def test_spot_recovery_aws ():
1129
1131
"""Test managed spot recovery."""
1130
1132
name = _get_cluster_name ()
@@ -1155,6 +1157,7 @@ def test_spot_recovery_aws():
1155
1157
1156
1158
1157
1159
@pytest .mark .gcp
1160
+ @pytest .mark .managed_spot
1158
1161
def test_spot_recovery_gcp ():
1159
1162
"""Test managed spot recovery."""
1160
1163
name = _get_cluster_name ()
@@ -1185,6 +1188,7 @@ def test_spot_recovery_gcp():
1185
1188
run_one_test (test )
1186
1189
1187
1190
1191
+ @pytest .mark .managed_spot
1188
1192
def test_spot_recovery_default_resources (generic_cloud : str ):
1189
1193
"""Test managed spot recovery for default resources."""
1190
1194
name = _get_cluster_name ()
@@ -1202,6 +1206,7 @@ def test_spot_recovery_default_resources(generic_cloud: str):
1202
1206
1203
1207
1204
1208
@pytest .mark .aws
1209
+ @pytest .mark .managed_spot
1205
1210
def test_spot_recovery_multi_node_aws ():
1206
1211
"""Test managed spot recovery."""
1207
1212
name = _get_cluster_name ()
@@ -1233,6 +1238,7 @@ def test_spot_recovery_multi_node_aws():
1233
1238
1234
1239
1235
1240
@pytest .mark .gcp
1241
+ @pytest .mark .managed_spot
1236
1242
def test_spot_recovery_multi_node_gcp ():
1237
1243
"""Test managed spot recovery."""
1238
1244
name = _get_cluster_name ()
@@ -1266,6 +1272,7 @@ def test_spot_recovery_multi_node_gcp():
1266
1272
1267
1273
1268
1274
@pytest .mark .aws
1275
+ @pytest .mark .managed_spot
1269
1276
def test_spot_cancellation_aws ():
1270
1277
name = _get_cluster_name ()
1271
1278
region = 'us-east-2'
@@ -1326,6 +1333,7 @@ def test_spot_cancellation_aws():
1326
1333
1327
1334
1328
1335
@pytest .mark .gcp
1336
+ @pytest .mark .managed_spot
1329
1337
def test_spot_cancellation_gcp ():
1330
1338
name = _get_cluster_name ()
1331
1339
zone = 'us-west3-b'
@@ -1381,6 +1389,7 @@ def test_spot_cancellation_gcp():
1381
1389
1382
1390
1383
1391
# ---------- Testing storage for managed spot ----------
1392
+ @pytest .mark .managed_spot
1384
1393
def test_spot_storage (generic_cloud : str ):
1385
1394
"""Test storage with managed spot"""
1386
1395
name = _get_cluster_name ()
@@ -1408,6 +1417,7 @@ def test_spot_storage(generic_cloud: str):
1408
1417
1409
1418
# ---------- Testing spot TPU ----------
1410
1419
@pytest .mark .gcp
1420
+ @pytest .mark .managed_spot
1411
1421
def test_spot_tpu ():
1412
1422
"""Test managed spot on TPU."""
1413
1423
name = _get_cluster_name ()
@@ -1443,6 +1453,7 @@ def test_inline_env(generic_cloud: str):
1443
1453
1444
1454
1445
1455
# ---------- Testing env for spot ----------
1456
+ @pytest .mark .managed_spot
1446
1457
def test_inline_spot_env (generic_cloud : str ):
1447
1458
"""Test env"""
1448
1459
name = _get_cluster_name ()
0 commit comments