From 559f171dc5652fa8569ce04073d75d93c7859748 Mon Sep 17 00:00:00 2001
From: el_kaboing <el_kaboing@localhost>
Date: Fri, 11 Aug 2006 21:03:57 +0000
Subject: [PATCH] The backend tests now can stop and start OpenDS with the port number specified in the testng.xml file.

---
 opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSIntegrationTests.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSIntegrationTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSIntegrationTests.java
index c1a34c8..1c138bd 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSIntegrationTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSIntegrationTests.java
@@ -104,9 +104,9 @@
     return outStr;
   }
 
-  public void startOpenDS(String dsee_home) throws Exception
+  public void startOpenDS(String dsee_home, String port) throws Exception
   {
-    dsAdmin = new OpenDSAdmin(dsee_home);
+    dsAdmin = new OpenDSAdmin(dsee_home, port);
 
     System.out.println("OpenDS is starting.....");
     dsAdmin.start();
@@ -114,11 +114,11 @@
     System.out.println("OpenDS has started.");
   }
 
-  public void stopOpenDS(String dsee_home) throws Exception
+  public void stopOpenDS(String dsee_home, String port) throws Exception
   {
     if(dsAdmin == null)
     {
-      dsAdmin = new OpenDSAdmin(dsee_home);
+      dsAdmin = new OpenDSAdmin(dsee_home, port);
     }
 
     System.out.println("OpenDS is stopping.....");

--
Gitblit v1.10.0