Skip to content

Commit 07ac08b

Browse files
committed
fix(deployments): update workflow planner test for configure_agents job
Test expected 8 jobs but the agents feature added a 9th job (configure_agents). Updated assertion to match.
1 parent 84fa1c4 commit 07ac08b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/temps-deployments/src/services/job_processor.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,13 +1273,13 @@ mod tests {
12731273
.create_deployment_jobs(deployment.id)
12741274
.await?;
12751275

1276-
// Verify jobs were created (nextjs project should create 8 jobs including
1277-
// persist_static_assets, configure_crons, scan_vulnerabilities, and capture_source_maps)
1276+
// Verify jobs were created (nextjs project should create 9 jobs including
1277+
// persist_static_assets, configure_crons, configure_agents, scan_vulnerabilities, and capture_source_maps)
12781278
let job_ids: Vec<String> = jobs.iter().map(|j| j.job_id.clone()).collect();
12791279
assert_eq!(
12801280
jobs.len(),
1281-
8,
1282-
"Expected 8 jobs but got {}: {:?}",
1281+
9,
1282+
"Expected 9 jobs but got {}: {:?}",
12831283
jobs.len(),
12841284
job_ids
12851285
);

0 commit comments

Comments
 (0)