diff --git a/lib/galaxy_test/base/populators.py b/lib/galaxy_test/base/populators.py index 2aeaa4f57e51..3a722c32730b 100644 --- a/lib/galaxy_test/base/populators.py +++ b/lib/galaxy_test/base/populators.py @@ -1573,6 +1573,7 @@ def __datasets(self, history_id, count, contents=None): if contents: new_kwds["content"] = contents[i] datasets.append(self.dataset_populator.new_dataset(history_id, **new_kwds)) + self.wait_for_history(history_id, assert_ok=True) return datasets def wait_for_dataset_collection(self, create_payload, assert_ok=False, timeout=DEFAULT_TIMEOUT):