Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Config: Fix unit test case failures
Browse files Browse the repository at this point in the history
Fix unit test case failures introduced due to new memory
management options.

Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
  • Loading branch information
mcastelino authored and Samuel Ortiz committed Sep 20, 2017
1 parent 902dbdb commit 2de68f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func createAllRuntimeConfigFiles(dir, hypervisor string) (config testRuntimeConf
DefaultVCPUs: defaultVCPUCount,
DefaultMemSz: defaultMemSize,
DisableBlockDeviceUse: disableBlockDevice,
Mlock: !defaultEnableSwap,
}

agentConfig := vc.HyperConfig{
Expand Down Expand Up @@ -609,6 +610,7 @@ func TestMinimalRuntimeConfig(t *testing.T) {
DefaultVCPUs: defaultVCPUCount,
DefaultMemSz: defaultMemSize,
DisableBlockDeviceUse: defaultDisableBlockDeviceUse,
Mlock: !defaultEnableSwap,
}

expectedAgentConfig := vc.HyperConfig{
Expand Down

0 comments on commit 2de68f7

Please # to comment.