This repository was archived by the owner on Sep 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/test/java/com/marklogic/client/ext/schemasloader/impl Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -68,10 +68,9 @@ public void badXmlFile() {
6868 assertTrue (ex .getMessage ().contains ("the following script can be run in Query Console against your content " +
6969 "database to see the TDE validation error" ), "Unexpected message: " + ex .getMessage ());
7070 FailedRequestException fre = (FailedRequestException )ex .getCause ();
71- assertTrue (fre .getMessage ().contains ("failed to apply resource at eval: Internal Server Error" ),
72- "Unfortunately, the FailedRequestException does not capture why the tde.templateBatchInsert failed; " +
73- "JAVA-224 has been opened to improve this; unexpected message: " + fre .getMessage ());
74-
71+ assertTrue (fre .getServerMessage ().contains ("TDE-REPEATEDCOLUMN" ), "As of Java Client 6.1.0, errors from " +
72+ "the /v1/eval endpoint are expected to be processed correctly by the Java Client so that the user sees " +
73+ "the actual error; actual error message: " + fre .getServerMessage ());
7574 } else {
7675 try {
7776 loader .loadSchemas (path );
You can’t perform that action at this time.
0 commit comments