Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rfe10669 - modify Java Prepush tests for set engine changes

Adds hair to accept one of two different error messages when SPARQL
is asked to check variable sanity in a query. The algebra engine
uses one and the set engine uses the other. The change does not, however,
depend on the set engine so it can just go in whenever.

tests added    : no
tests run      : java-prepush
performance    : no change
release-note   : none, internal testing change only
fast trackable : YES

Change-Id: Ie1843a9be3490666ccd1a276ba523b2d43e83470
Reviewed-on: https://gerrit.franz.com:9080/1360
Reviewed-by: Gary Warren King <gwking@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
  • Loading branch information...
commit c96d631f9436a8bb204c3bc88fd834718d6dada7 1 parent d8ded2d
Gary King authored dklayer committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/test/JenaTests.java
2  src/test/JenaTests.java
View
@@ -127,7 +127,7 @@ public void sparqlOrderByError_bug19157_rfe9971() throws Exception {
qe.execSelect();
Assert.fail("query should have failed because of ?x");
} catch (Exception e) {
- if ( ! e.getMessage().contains("MALFORMED QUERY: Variables do not intersect with query: ?x")) {
+ if ( ! (e.getMessage().contains("MALFORMED QUERY: Variables do not intersect with query: ?x") || e.getMessage().contains("unknown variable in order expression: ?x")) ) {
throw e;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.