From 707518f8a5d382b00423b895b657bde7628774fa Mon Sep 17 00:00:00 2001
From: vharseko <vharseko@openam.org.ru>
Date: Thu, 04 Oct 2018 09:06:33 +0000
Subject: [PATCH] fix NPE TestNG in maven OPENDJ-2398

---
 opendj-config/pom.xml |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/opendj-config/pom.xml b/opendj-config/pom.xml
index d69b66b..76b709c 100644
--- a/opendj-config/pom.xml
+++ b/opendj-config/pom.xml
@@ -59,14 +59,6 @@
       <groupId>org.forgerock.opendj</groupId>
       <artifactId>opendj-cli</artifactId>
     </dependency>
-
-    <!-- We need to override testNG version to make test works (see OPENDJ-2389) -->
-    <dependency>
-      <groupId>org.testng</groupId>
-      <artifactId>testng</artifactId>
-      <version>6.0.1</version>
-      <scope>test</scope>
-    </dependency>
   </dependencies>
 
   <properties>
@@ -174,6 +166,10 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+        	 <parallel>methods</parallel>
+          	 <threadCount>1</threadCount>
+        </configuration>
       </plugin>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>

--
Gitblit v1.10.0