From 67781aa336f8864d2daf8540282e3a08e02a314b Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Thu, 27 Mar 2008 10:05:53 +0000
Subject: [PATCH] Fix snmp trap test and enable it.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/snmp/SNMPConnectionManager.java | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/snmp/SNMPConnectionManager.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/snmp/SNMPConnectionManager.java
index 1a1c9ee..631af6d 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/snmp/SNMPConnectionManager.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/snmp/SNMPConnectionManager.java
@@ -85,12 +85,11 @@
}
/**
- * Set Down the Directory Server
- * @param message
+ * Set Down the Directory Server.
* @throws java.lang.Exception
*/
- protected void setDown(String message) throws Exception {
- TestCaseUtils.shutdownServer(message);
+ protected void setDown() throws Exception {
+ TestCaseUtils.restartServer();
}
/**
--
Gitblit v1.10.0