summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2019-04-15 11:02:57 -0400
committerKajur, Harish (vk250x) <vk250x@att.com>2019-04-15 11:03:03 -0400
commitb801c94af4023b7cc744d1749f202d2e0df62b94 (patch)
tree7fdb17e1048d370d0e642dd98303c74600cddda8 /src/main/java
parentfed1071d9b059e55a08ae328e41c50ab90019b06 (diff)
Fix GenTester to exit with proper failure code
Issue-ID: AAI-2377 Change-Id: Idc84c92c9514cbe4ab37a0788d2b8bc71a85adcb Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/onap/aai/schema/GenTester.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/onap/aai/schema/GenTester.java b/src/main/java/org/onap/aai/schema/GenTester.java
index 78bb4af..ebc0aba 100644
--- a/src/main/java/org/onap/aai/schema/GenTester.java
+++ b/src/main/java/org/onap/aai/schema/GenTester.java
@@ -156,6 +156,7 @@ public class GenTester {
SchemaGenerator.loadSchemaIntoJanusGraph(graph, graphMgt, null);
} catch(Exception ex) {
ErrorLogHelper.logError("AAI_4000", ex.getMessage());
+ System.exit(1);
}