expect error if user shut down
@@ -1719,12 +1719,18 @@ impl GooseAttack {
);
}
Err(e) => {
+ // Error is expected if this user already shut down.
+ if !goose_attack_run_state
+ .users_shutdown
+ .contains(&goose_attack_run_state.completed_users)
+ {
info!(
"failed to tell user {} to exit: {}",
goose_attack_run_state.completed_users, e
);
}
}
+ }
goose_attack_run_state.completed_users += 1;
goose_attack_run_state.active_users -= 1;
}
