/// <exception cref="System.IO.IOException"/> private void ExplicitFailover() { int activeRMIndex = cluster.GetActiveRMIndex(); int newActiveRMIndex = (activeRMIndex + 1) % 2; GetAdminService(activeRMIndex).TransitionToStandby(req); GetAdminService(newActiveRMIndex).TransitionToActive(req); NUnit.Framework.Assert.AreEqual("Failover failed", newActiveRMIndex, cluster.GetActiveRMIndex ()); }