We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc73d05 commit 6151d1aCopy full SHA for 6151d1a
src/cloudai/_core/base_runner.py
@@ -113,8 +113,9 @@ async def submit_test(self, tr: TestRun):
113
exit(1)
114
115
def on_job_submit(self, tr: TestRun) -> None:
116
- cmd_gen = tr.test.test_template.command_gen_strategy
117
- cmd_gen.store_test_run(tr)
+ if tr.test.test_template._command_gen_strategy is not None:
+ cmd_gen = tr.test.test_template.command_gen_strategy
118
+ cmd_gen.store_test_run(tr)
119
120
async def delayed_submit_test(self, tr: TestRun, delay: int = 5):
121
"""
0 commit comments