Skip to content

Commit 04c15e0

Browse files
authored
vmm_tests: fixed the function definition for the helper function for keep alive tests (#2188)
Minor fix to the helper function definition in the vmm tests. This slipped through in the last PR.
1 parent c450ebb commit 04c15e0

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

vmm_tests/vmm_tests/tests/tests/multiarch/openhcl_servicing.rs

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -281,13 +281,7 @@ async fn servicing_keepalive_with_nvme_fault(
281281
),
282282
);
283283

284-
apply_fault_with_keepalive(
285-
config,
286-
fault_configuration,
287-
fault_start_updater,
288-
(igvm_file,),
289-
)
290-
.await
284+
apply_fault_with_keepalive(config, fault_configuration, fault_start_updater, igvm_file).await
291285
}
292286

293287
/// Verifies that the driver awaits an existing AER instead of issuing a new one after servicing.
@@ -306,13 +300,7 @@ async fn servicing_keepalive_verify_no_duplicate_aers(
306300
),
307301
);
308302

309-
apply_fault_with_keepalive(
310-
config,
311-
fault_configuration,
312-
fault_start_updater,
313-
(igvm_file,),
314-
)
315-
.await
303+
apply_fault_with_keepalive(config, fault_configuration, fault_start_updater, igvm_file).await
316304
}
317305

318306
/// Test servicing an OpenHCL VM from the current version to itself with NVMe keepalive support
@@ -346,20 +334,14 @@ async fn servicing_keepalive_with_nvme_identify_fault(
346334
),
347335
);
348336

349-
apply_fault_with_keepalive(
350-
config,
351-
fault_configuration,
352-
fault_start_updater,
353-
(igvm_file,),
354-
)
355-
.await
337+
apply_fault_with_keepalive(config, fault_configuration, fault_start_updater, igvm_file).await
356338
}
357339

358340
async fn apply_fault_with_keepalive(
359341
config: PetriVmBuilder<OpenVmmPetriBackend>,
360342
fault_configuration: FaultConfiguration,
361343
mut fault_start_updater: CellUpdater<bool>,
362-
(igvm_file,): (ResolvedArtifact<impl petri_artifacts_common::tags::IsOpenhclIgvm>,),
344+
igvm_file: ResolvedArtifact<impl petri_artifacts_common::tags::IsOpenhclIgvm>,
363345
) -> Result<(), anyhow::Error> {
364346
let (mut vm, agent) = create_keepalive_test_config(config, fault_configuration).await?;
365347

0 commit comments

Comments
 (0)