use of org.testng.annotations.AfterClass in project teammates by TEAMMATES.
the class InstructorFeedbackQuestionAddActionTest method classTearDown.
@AfterClass
public void classTearDown() {
// delete entire session to clean the database
FeedbackSessionAttributes fs = typicalBundle.feedbackSessions.get("session1InCourse1");
FeedbackSessionsLogic.inst().deleteFeedbackSessionCascade(fs.getFeedbackSessionName(), fs.getCourseId());
}
use of org.testng.annotations.AfterClass in project helix by apache.
the class TestCrushAutoRebalance method afterClass.
@AfterClass
public void afterClass() throws Exception {
/**
* shutdown order: 1) disconnect the controller 2) disconnect participants
*/
_controller.syncStop();
for (MockParticipantManager participant : _participants) {
participant.syncStop();
}
_setupTool.deleteCluster(CLUSTER_NAME);
System.out.println("END " + CLASS_NAME + " at " + new Date(System.currentTimeMillis()));
}
use of org.testng.annotations.AfterClass in project helix by apache.
the class TestDelayedAutoRebalance method afterClass.
@AfterClass
public void afterClass() throws Exception {
/**
* shutdown order: 1) disconnect the controller 2) disconnect participants
*/
_controller.syncStop();
for (MockParticipantManager participant : _participants) {
participant.syncStop();
}
_setupTool.deleteCluster(CLUSTER_NAME);
System.out.println("END " + CLASS_NAME + " at " + new Date(System.currentTimeMillis()));
}
use of org.testng.annotations.AfterClass in project helix by apache.
the class TestClusterInMaintenanceModeWhenReachingMaxPartition method afterClass.
@AfterClass
public void afterClass() throws Exception {
/**
* shutdown order: 1) disconnect the controller 2) disconnect participants
*/
_controller.syncStop();
for (MockParticipantManager participant : _participants) {
if (participant.isConnected()) {
participant.syncStop();
}
}
_gSetupTool.deleteCluster(CLUSTER_NAME);
System.out.println("END " + CLASS_NAME + " at " + new Date(System.currentTimeMillis()));
}
use of org.testng.annotations.AfterClass in project helix by apache.
the class TestClusterInMaintenanceModeWhenReachingOfflineInstancesLimit method afterClass.
@AfterClass
public void afterClass() throws Exception {
/**
* shutdown order: 1) disconnect the controller 2) disconnect participants
*/
_controller.syncStop();
for (MockParticipantManager participant : _participants) {
if (participant.isConnected()) {
participant.syncStop();
}
}
_gSetupTool.deleteCluster(CLUSTER_NAME);
System.out.println("END " + CLASS_NAME + " at " + new Date(System.currentTimeMillis()));
}
Aggregations