You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by GitBox <gi...@apache.org> on 2020/10/14 05:58:39 UTC
[GitHub] [unomi] liatiusim commented on a change in pull request #202: Return error to the client when exception is thrown from Elasticsearch impl
liatiusim commented on a change in pull request #202:
URL: https://github.com/apache/unomi/pull/202#discussion_r504420064
##########
File path: itests/src/test/java/org/apache/unomi/itests/ProfileServiceIT.java
##########
@@ -112,4 +113,25 @@ public void testGetProfileWithScrolling() throws InterruptedException {
assertEquals(0, profiles.getList().size());
}
+ // Relevant only when throwExceptions system property is true
+ @Test
+ public void testGetProfileWithWrongScrollerIdThrowException() throws InterruptedException {
+ String throwExceptionProperty = System.getProperty("org.apache.unomi.elasticsearch.throwExceptions");
Review comment:
Sure, I didn't know how to set this property for this test only. How can I do it?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org