diff --git a/src/tests/ftest/util/job_manager_utils.py b/src/tests/ftest/util/job_manager_utils.py index e6aaff0851b..4c95bc33983 100644 --- a/src/tests/ftest/util/job_manager_utils.py +++ b/src/tests/ftest/util/job_manager_utils.py @@ -180,7 +180,7 @@ def assign_hosts(self, hosts, path=None, slots=None, hostfile=True): parameters to keep them in sync with the hosts. Defaults to True. """ # pylint: disable=unused-argument - self._hosts = hosts.copy() + self._hosts = NodeSet(hosts).copy() def _setup_hostfile(self, path=None, slots=None, hostfile=True): """Setup the hostfile to use with the command.