Skip to content
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

pevogam May 22, 2023
Maintainer Author

@richtja
Comment options

@pevogam
Comment options

pevogam May 31, 2023
Maintainer Author

@pevogam
Comment options

pevogam May 31, 2023
Maintainer Author

@pevogam
Comment options

pevogam Jun 6, 2023
Maintainer Author

Comment options

pevogam
May 31, 2023
Maintainer Author

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

pevogam May 31, 2023
Maintainer Author

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