Skip to content

Missing sysinfo with per test config #5681

Closed Answered by pevogam
pevogam asked this question in Q&A
Discussion options

You must be logged in to vote

To answer and thus close this discussion, in order for anyone to use sysinfo and other pre- and post-test plugins with a custom scheduler plugin, they will have to construct the necessary runtime pre-tasks and post-tasks by themselves like in the following use case illustration:

         task = RuntimeTask(raw_task)
-        if spawner == "lxc":
-            task.spawner_handle = host
-        elif spawner == "remote":
-            # TODO: perhaps provide a brand new vanilla session for each integration test?
-            task.spawner_handle = node.get_session_to_net()
-        self.tasks += [task]
+        pre_tasks = PreRuntimeTask.get_tasks_from_test_task(
+            task,
+

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
9 replies
@pevogam
Comment options

@richtja
Comment options

@pevogam
Comment options

@pevogam
Comment options

@pevogam
Comment options

Comment options

You must be logged in to vote
1 reply
@pevogam
Comment options

Answer selected by pevogam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants