sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SLING-7169) FullTextIndexingTest sometimes fails with a timeout
Date Tue, 27 Feb 2018 09:58:00 GMT

    [ https://issues.apache.org/jira/browse/SLING-7169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16378312#comment-16378312
] 

Thomas Mueller commented on SLING-7169:
---------------------------------------

[~volteanu] The queries you have used are problematic. At they stand, they can also use the
generic "lucene" index. This we need to prevent. Please change them as follows:

{noformat}
private static final List<String> queries = Arrays.asList(
+            "/jcr:root" + WAIT_FOR_ASYNC_INDEXING_ROOT + "//*[jcr:contains(@testPropAsync,
'testval-" + VAL_PLACEHOLDER +"')] option(traversal ok, index tag async))",
+            "/jcr:root" + WAIT_FOR_ASYNC_INDEXING_ROOT + "//*[jcr:contains(@testPropFulltextAsync,
'testval-" + VAL_PLACEHOLDER + "')] option(traversal ok, index tag fulltextAsync)"
{noformat}

Another change, please replace:
{noformat}
'analyzed': 'true'\n" +
{noformat}
with
{noformat}
'analyzed': true\n" +
{noformat}

(technically it still works if the property is a string, however it's outside of the spec).



> FullTextIndexingTest sometimes fails with a timeout
> ---------------------------------------------------
>
>                 Key: SLING-7169
>                 URL: https://issues.apache.org/jira/browse/SLING-7169
>             Project: Sling
>          Issue Type: Bug
>          Components: Launchpad
>            Reporter: Robert Munteanu
>            Priority: Major
>              Labels: sling-IT
>         Attachments: SLING-7169-logs.tar.gz
>
>
> The test fails maybe 1 in 10 runs. I could reproduce this locally by running many times.
I've also seen it once on Jenkins.
> **Old description below**
> After upgrading the launchpad to commons.threads 3.2.10 the FullTextIndexingTest failed
( [build 1547|https://builds.apache.org/job/sling-launchpad-testing-1.8/1547/] ).
> I also reproduced it once locally.
> [~kwin] - since the commons.threads release is the potential root cause, can you please
take a look at the failure and see if it's related?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message