Skip to content
Snippets Groups Projects

Refresh the execution during resume_execution to avoid using a detached SqlAlchemy instance

Merged Daniel Lyons requested to merge small-bug-fix into main
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -214,6 +214,7 @@ def test_resume_execution(
}
)
fake_execution.capability = capability
mock_capability_info.save_execution(fake_execution)
dummy_execution_manager.queue_execution(fake_execution)
assert fake_execution.queue_state == QueueState.Queued.name
dummy_execution_manager.resume_execution(fake_execution)
Loading