You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ma...@apache.org on 2022/11/18 18:08:40 UTC

[atlas] 02/02: [PATCH] ATLAS-3468: Exclude JTS topology suite library from being packaged

This is an automated email from the ASF dual-hosted git repository.

madhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git

commit cf144656ebfdb6085581a6f16dfaafac1ba8a569
Author: Sarath Subramanian <sa...@apache.org>
AuthorDate: Thu Nov 17 09:35:37 2022 -0800

    [PATCH] ATLAS-3468: Exclude JTS topology suite library from being packaged
    
    Signed-off-by: Madhan Neethiraj <ma...@apache.org>
---
 .../repository/tagpropagation/ClassificationPropagationTest.java     | 5 ++---
 test-tools/pom.xml                                                   | 1 +
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/repository/src/test/java/org/apache/atlas/repository/tagpropagation/ClassificationPropagationTest.java b/repository/src/test/java/org/apache/atlas/repository/tagpropagation/ClassificationPropagationTest.java
index 84e9bfa04..103036dcb 100644
--- a/repository/src/test/java/org/apache/atlas/repository/tagpropagation/ClassificationPropagationTest.java
+++ b/repository/src/test/java/org/apache/atlas/repository/tagpropagation/ClassificationPropagationTest.java
@@ -17,7 +17,6 @@
  */
 package org.apache.atlas.repository.tagpropagation;
 
-import com.vividsolutions.jts.util.Assert;
 import org.apache.atlas.AtlasErrorCode;
 import org.apache.atlas.RequestContext;
 import org.apache.atlas.TestModules;
@@ -694,7 +693,7 @@ public class ClassificationPropagationTest extends AtlasTestBase {
             deletePropagatedClassification(entity, classification);
             fail();
         } catch (AtlasBaseException ex) {
-            Assert.equals(ex.getAtlasErrorCode(), PROPAGATED_CLASSIFICATION_REMOVAL_NOT_SUPPORTED);
+            assertEquals(ex.getAtlasErrorCode(), PROPAGATED_CLASSIFICATION_REMOVAL_NOT_SUPPORTED);
         }
     }
 
@@ -712,4 +711,4 @@ public class ClassificationPropagationTest extends AtlasTestBase {
 
         return relationshipStore.getById(relationshipGuid);
     }
-}
\ No newline at end of file
+}
diff --git a/test-tools/pom.xml b/test-tools/pom.xml
index 215882d46..3ce47b012 100644
--- a/test-tools/pom.xml
+++ b/test-tools/pom.xml
@@ -75,6 +75,7 @@
             <groupId>com.vividsolutions</groupId>
             <artifactId>jts</artifactId>
             <version>1.13</version>
+            <scope>test</scope>
         </dependency>
 
         <dependency>