@@ -1187,13 +1187,17 @@ def test_dynamic_file_systems_update(
1187
1187
scheduler_commands .assert_job_state (queue1_job_id , "RUNNING" )
1188
1188
1189
1189
# Check that the mounted storage is visible on all cluster nodes right after the update.
1190
- all_mount_dirs_update_1 = [
1191
- existing_efs_mount_dir ,
1192
- existing_fsx_lustre_mount_dir ,
1193
- existing_fsx_ontap_mount_dir ,
1194
- existing_fsx_open_zfs_mount_dir ,
1195
- existing_file_cache_mount_dir ,
1196
- ]
1190
+ all_mount_dirs_update_1 = (
1191
+ [existing_efs_mount_dir ]
1192
+ + [
1193
+ existing_fsx_lustre_mount_dir ,
1194
+ existing_fsx_ontap_mount_dir ,
1195
+ existing_fsx_open_zfs_mount_dir ,
1196
+ existing_file_cache_mount_dir ,
1197
+ ]
1198
+ if fsx_supported
1199
+ else []
1200
+ )
1197
1201
_test_shared_storages_mount_on_headnode (
1198
1202
remote_command_executor ,
1199
1203
cluster ,
@@ -1353,26 +1357,36 @@ def test_dynamic_file_systems_update(
1353
1357
file_cache_path ,
1354
1358
)
1355
1359
1356
- all_mount_dirs_update_2 = [
1357
- new_ebs_mount_dir ,
1358
- new_raid_mount_dir ,
1359
- new_efs_mount_dir ,
1360
- new_lustre_mount_dir ,
1361
- existing_ebs_mount_dir ,
1362
- existing_efs_mount_dir ,
1363
- existing_fsx_lustre_mount_dir ,
1364
- existing_fsx_ontap_mount_dir ,
1365
- existing_fsx_open_zfs_mount_dir ,
1366
- existing_file_cache_mount_dir ,
1367
- ]
1360
+ all_mount_dirs_update_2 = (
1361
+ [
1362
+ new_ebs_mount_dir ,
1363
+ new_raid_mount_dir ,
1364
+ new_efs_mount_dir ,
1365
+ new_lustre_mount_dir ,
1366
+ existing_ebs_mount_dir ,
1367
+ existing_efs_mount_dir ,
1368
+ ]
1369
+ + [
1370
+ existing_fsx_lustre_mount_dir ,
1371
+ existing_fsx_ontap_mount_dir ,
1372
+ existing_fsx_open_zfs_mount_dir ,
1373
+ existing_file_cache_mount_dir ,
1374
+ ]
1375
+ if fsx_supported
1376
+ else []
1377
+ )
1368
1378
1369
- mount_dirs_requiring_replacement = [
1370
- new_ebs_mount_dir ,
1371
- new_raid_mount_dir ,
1372
- new_efs_mount_dir ,
1373
- new_lustre_mount_dir ,
1374
- existing_ebs_mount_dir ,
1375
- ]
1379
+ mount_dirs_requiring_replacement = (
1380
+ [
1381
+ new_ebs_mount_dir ,
1382
+ new_raid_mount_dir ,
1383
+ new_efs_mount_dir ,
1384
+ existing_ebs_mount_dir ,
1385
+ ]
1386
+ + [new_lustre_mount_dir ]
1387
+ if fsx_supported
1388
+ else []
1389
+ )
1376
1390
1377
1391
logging .info ("Checking that previously mounted storage is visible on all compute nodes" )
1378
1392
for mount_dir in all_mount_dirs_update_1 :
0 commit comments