public void CheckHAOffNoPool() { var host = GetHostLiveness(GetMockConnectionWithCache(), true, false, true); //Execute the check var check = new HAOffCheck(host); var problem = check.RunCheck(); Assert.IsNull(problem); }
public void CheckHAOff() { var host = GetHostHA(false); //Execute the check var check = new HAOffCheck(host); var problem = check.RunCheck(); Assert.IsNull(problem); }
public void CheckHAOff() { var host = GetHostHA(false); //Execute the check var check = new HAOffCheck(host); var problems = check.RunAllChecks(); Assert.IsEmpty(problems); }
public void CheckHAON() { var host = GetHostHA(true); //Execute the check var check = new HAOffCheck(host); var problem = check.RunCheck(); Assert.IsNotNull(problem); Assert.AreEqual(typeof(HAEnabledProblem), problem.GetType()); }
public void CheckHAON() { var host = GetHostHA(true); //Execute the check var check = new HAOffCheck(host); var problems = check.RunAllChecks(); Assert.IsNotEmpty(problems); Assert.AreEqual(typeof(HAEnabledProblem), problems[0].GetType()); }