You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Alberto Musetti <mu...@cs.unibo.it> on 2011/06/23 12:56:10 UTC

Test failure: SolrDirectoryManagerTest and SolrYardTest

Hi,

i have a problem with test output is [1]:
  org.apache.stanbol.entityhub.yard.solr.SolrDirectoryManagerTest
  org.apache.stanbol.entityhub.yard.solr.SolrYardTest


I have check svn status and report is:
?       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/iterable/indexing/resources/rdfdata/Provence-Alpes-Côte_d'Azur.rdf
?       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/iterable/indexing/resources/rdfdata/Rhône-Alpes.rdf
!       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/iterable/indexing/resources/rdfdata/Rhône-Alpes.rdf
!       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/iterable/indexing/resources/rdfdata/Provence-Alpes-Côte_d'Azur.rdf
?       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/existing/indexing/resources/rdfdata/Provence-Alpes-Côte_d'Azur.rdf
?       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/existing/indexing/resources/rdfdata/Rhône-Alpes.rdf
!       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/existing/indexing/resources/rdfdata/Rhône-Alpes.rdf
!       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/existing/indexing/resources/rdfdata/Provence-Alpes-Côte_d'Azur.rdf
?       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/provider/indexing/resources/rdfdata/Provence-Alpes-Côte_d'Azur.rdf
?       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/provider/indexing/resources/rdfdata/Rhône-Alpes.rdf
!       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/provider/indexing/resources/rdfdata/Rhône-Alpes.rdf
!       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/provider/indexing/resources/rdfdata/Provence-Alpes-Côte_d'Azur.rdf

Can be the problem the character encoding?

Best,
Alberto 



[1] output:
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.stanbol.entityhub.yard.solr.SolrDirectoryManagerTest
SLF4J: The requested version 1.6 by your slf4j binding is not compatible with [1.5.5, 1.5.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
23-giu-2011 12.35.40 org.apache.stanbol.entityhub.yard.solr.SolrDirectoryManagerTest init
INFO: configured directory: ${basedir}/target/indexes
23-giu-2011 12.35.40 org.apache.stanbol.entityhub.yard.solr.SolrDirectoryManagerTest init
INFO: expected managed directory: /Users/bebo/Documents/workspace/Stanbol/entityhub/yard/solr/target/indexes
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.189 sec <<< FAILURE!
Running org.apache.stanbol.entityhub.yard.solr.SolrYardTest
23-giu-2011 12.35.40 org.apache.stanbol.entityhub.yard.solr.SolrYardTest initYard
INFO: Test Solr Server Directory: ${basedir}/target/indexes
23-giu-2011 12.35.40 org.apache.stanbol.entityhub.yard.solr.SolrServerProviderManager getInstance
INFO: load provider class org.apache.stanbol.entityhub.yard.solr.impl.DefaultSolrServerProvider supporting [HTTP, STREAMING, LOAD_BALANCE]
23-giu-2011 12.35.40 org.apache.stanbol.entityhub.yard.solr.SolrServerProviderManager addSolrProvider
INFO: add SolrProvider org.apache.stanbol.entityhub.yard.solr.impl.DefaultSolrServerProvider@51b48197 types [HTTP, STREAMING, LOAD_BALANCE]
23-giu-2011 12.35.40 org.apache.stanbol.entityhub.yard.solr.SolrServerProviderManager getInstance
INFO: load provider class org.apache.stanbol.entityhub.yard.solr.impl.EmbeddedSolrPorovider supporting [EMBEDDED]
23-giu-2011 12.35.40 org.apache.stanbol.entityhub.yard.solr.SolrServerProviderManager addSolrProvider
INFO: add SolrProvider org.apache.stanbol.entityhub.yard.solr.impl.EmbeddedSolrPorovider@4e17e4ca types [EMBEDDED]
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.123 sec <<< FAILURE!

Re: Test failure: SolrDirectoryManagerTest and SolrYardTest

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi

Sorry I copied them only to the test directory without thinking about
the implications of the special characters. With [1] the files are
renamed. Hopefully this solves your problem.

[1] http://svn.apache.org/viewvc?view=revision&revision=1139404

best
Rupert

On Thu, Jun 23, 2011 at 1:53 PM, Bertrand Delacretaz
<bd...@apache.org> wrote:
> On Thu, Jun 23, 2011 at 12:56 PM, Alberto Musetti <mu...@cs.unibo.it> wrote:
>> ...I have check svn status and report is:
>> ?       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/iterable/indexing/resources/rdfdata/Provence-Alpes-Côte_d'Azur.rdf
>> ?       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/iterable/indexing/resources/rdfdata/Rhône-Alpes.rdf
>>...
>>
>> Can be the problem the character encoding?...
>
> Yes, it's probably not a good idea to have such filenames in a
> multiplatform environment like ours, that's bound to cause problems
> with some svn clients and it's not really needed.
>
> -Bertrand
>



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Re: Test failure: SolrDirectoryManagerTest and SolrYardTest

Posted by Bertrand Delacretaz <bd...@apache.org>.
On Thu, Jun 23, 2011 at 12:56 PM, Alberto Musetti <mu...@cs.unibo.it> wrote:
> ...I have check svn status and report is:
> ?       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/iterable/indexing/resources/rdfdata/Provence-Alpes-Côte_d'Azur.rdf
> ?       entityhub/indexing/source/jenatdb/src/test/resources/testConfigs/iterable/indexing/resources/rdfdata/Rhône-Alpes.rdf
>...
>
> Can be the problem the character encoding?...

Yes, it's probably not a good idea to have such filenames in a
multiplatform environment like ours, that's bound to cause problems
with some svn clients and it's not really needed.

-Bertrand