Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(orchestration): use success status in lease degradation test

Steven Enamakel7a985966ae8c
diff --git a/crates/openhuman-core/src/agent/orchestration/background_completions_tests.rs b/crates/openhuman-core/src/agent/orchestration/background_completions_tests.rs
index c037785f59..e504aed45c 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_completions_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_completions_tests.rs
@@ -679,7 +679,7 @@ async fn degrading_a_leased_completion_keeps_its_lease() {
"leased-task",
"leased-thread",
"researcher",
- CompletionStatus::Completed,
+ CompletionStatus::Success,
CompletionResult::text("done"),
))
.await