############### Second Failure Mode ###############
test_2() {
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
client_df
test_3() {
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
#MDS Portion
facet_failover mds
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
client_df
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
client_df
client_touch testfile || return 2
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
client_df
client_touch testfile || return 1
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
client_df
client_touch testfile
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
client_df
client_touch testfile
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
client_df
client_touch testfile || return 1