add worker fetch step

This commit is contained in:
Laura Abro
2025-04-24 11:52:26 -03:00
parent 08837a39c9
commit d2bbe4de95
2 changed files with 16 additions and 28 deletions

View File

@ -3,6 +3,7 @@
from prometheus_test import TestStep
from functools import partial
from .stages import (
worker_fetch,
worker_task,
worker_submission,
worker_audit,
@ -11,12 +12,19 @@ from .stages import (
steps = [
TestStep(
name="worker_fetch",
description="Fetch worker task",
prepare=worker_fetch.prepare,
execute=worker_fetch.execute,
worker="worker1",
),
TestStep(
name="worker_task",
description="Execute worker task",
prepare=worker_task.prepare,
execute=worker_task.execute,
worker="worker",
worker="worker1",
),
TestStep(
name="worker_submission",