Skip to content

Commit 0d03e4f

Browse files
enable mana keepalive by default for tests
1 parent b9c0467 commit 0d03e4f

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

petri/src/vm/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,6 +1299,10 @@ impl OpenHclConfig {
12991299
/// the command line and log levels.
13001300
pub fn command_line(&self) -> String {
13011301
let mut cmdline = self.command_line.clone();
1302+
1303+
// Enable MANA keep-alive by default for all tests
1304+
append_cmdline(&mut cmdline, "OPENHCL_MANA_KEEP_ALIVE=host,privatepool");
1305+
13021306
match &self.log_levels {
13031307
OpenHclLogConfig::TestDefault => {
13041308
let default_log_levels = {

petri/src/vm/openvmm/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ impl PetriVmmBackend for OpenVmmPetriBackend {
117117
fn default_servicing_flags() -> OpenHclServicingFlags {
118118
OpenHclServicingFlags {
119119
enable_nvme_keepalive: true,
120-
enable_mana_keepalive: false,
120+
enable_mana_keepalive: true,
121121
override_version_checks: false,
122122
stop_timeout_hint_secs: None,
123123
}

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,9 +556,7 @@ async fn mana_nic_servicing_keepalive(
556556
let (mut vm, agent) = config
557557
.with_vmbus_redirect(true)
558558
.modify_backend(|b| b.with_nic())
559-
.with_openhcl_command_line(
560-
"OPENHCL_ENABLE_VTL2_GPA_POOL=512 OPENHCL_MANA_KEEP_ALIVE=host,privatepool",
561-
)
559+
.with_openhcl_command_line("OPENHCL_ENABLE_VTL2_GPA_POOL=512")
562560
.run()
563561
.await?;
564562

0 commit comments

Comments
 (0)