mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 15:29:26 +01:00
CP-36392: Amend WLB tests to account for deleted property
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
This commit is contained in:
parent
16d7f74158
commit
91f4a76f22
@ -42,7 +42,7 @@ namespace XenAdminTests.UnitTests.WlbTests
|
||||
public class WlbPoolConfigurationTests
|
||||
{
|
||||
private WlbPoolConfiguration wlbPool;
|
||||
private const int NUMBER_OF_PROPERTIES = 33;
|
||||
private const int NUMBER_OF_PROPERTIES = 32;
|
||||
|
||||
[Test]
|
||||
public void NullCtorThrows()
|
||||
@ -114,7 +114,6 @@ namespace XenAdminTests.UnitTests.WlbTests
|
||||
{
|
||||
//Simple setters.....
|
||||
{"OptimizationMode", "MaximizeDensity"}, //PerformanceMode
|
||||
{"MetricGroomingPeriod", "2.0"},
|
||||
{"RecentMoveMinutes", "2.0"},
|
||||
//{"ReportingUseRSServer", "false"},
|
||||
{"ReportingSMTPServer", "some string"},
|
||||
@ -136,7 +135,6 @@ namespace XenAdminTests.UnitTests.WlbTests
|
||||
var data = new MRInSensitiveData
|
||||
{
|
||||
PerformanceMode = WlbPoolPerformanceMode.MaximizePerformance,
|
||||
MetricGroomingPeriod = 5.0,
|
||||
RecentMoveMinutes = 6.0,
|
||||
//ReportingUseRSServer = true,
|
||||
ReportingSMTPServer = "who knows what?!",
|
||||
@ -198,9 +196,7 @@ namespace XenAdminTests.UnitTests.WlbTests
|
||||
private struct MRInSensitiveData
|
||||
{
|
||||
public WlbPoolPerformanceMode PerformanceMode;
|
||||
public double MetricGroomingPeriod;
|
||||
public double RecentMoveMinutes;
|
||||
//public bool ReportingUseRSServer;
|
||||
public string ReportingSMTPServer;
|
||||
public int HostCpuThresholdCritical;
|
||||
public double HostMemoryThresholdCritical;
|
||||
|
Loading…
Reference in New Issue
Block a user