epugh commented on code in PR #1852:
URL: https://github.com/apache/solr/pull/1852#discussion_r1298495479
##########
solr/solrj-streaming/src/test/org/apache/solr/client/solrj/io/stream/StreamingTest.java:
##########
@@ -646,16 +645,45 @@ public void testExceptionStream() throws Exception {
assertTrue(t.EXCEPTION);
assertTrue(t.getException().contains("sort param field can't be found:
blah"));
+ sParamsA = params("q", "*:*", "fl", "a_s,a_i,a_f,blah", "sort", "blah
asc", "wt", "javabin");
+ stream = new CloudSolrStream(zkHost, COLLECTIONORALIAS, sParamsA);
+ estream = new ExceptionStream(stream);
+ estream.setStreamContext(streamContext);
+ t = getTuple(estream);
+ assertTrue(t.EOF);
+ assertTrue(t.EXCEPTION);
+ assertTrue(t.getException().contains("sort param field can't be found:
blah"));
+
+ // Test an error that comes originates from the /export handler
Review Comment:
"that originates"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]