Can you check if you're using the same virtual machine from Eclipse and from command line? Maybe it's a different vendor/architecture/version?
I will look into this if you can't figure it out before me. Just give me the full ANT line you were using. Dawid On Fri, Sep 13, 2013 at 6:15 PM, Shai Erera <ser...@gmail.com> wrote: > Yes it happens with the same seed. And it happened both times I ran it: from > Ant it takes ~280s, from eclipse ~1s. > > Both times the test seems successful, and the outputs looks the same, so I > guess it means it does the same thing when run from eclipse and ant. > > Am I the only one that experiences this slowness? > > Shai > > > On Fri, Sep 13, 2013 at 7:06 PM, Dawid Weiss <dawid.we...@cs.put.poznan.pl> > wrote: >> >> Is it with the same seed? >> >> Dawid >> >> On Fri, Sep 13, 2013 at 1:04 PM, Michael McCandless >> <luc...@mikemccandless.com> wrote: >> > It passes when run from Eclipse? It seems crazy that it can take 280 >> > sec from ant but 1 sec from Eclipse. Maybe it's not actually running, >> > when running from Eclipse? >> > >> > +1 for @Nightly it we can't get to the bottom of it ... >> > >> > Mike McCandless >> > >> > http://blog.mikemccandless.com >> > >> > >> > On Thu, Sep 12, 2013 at 5:03 PM, Shai Erera <ser...@gmail.com> wrote: >> >> Hi >> >> >> >> I was running Solr tests now and thought they hung, but eventually they >> >> continued and I noticed that SimplePostToolTest took 280s to complete. >> >> I >> >> tried from eclipse, and it took 1s. Tried from Ant again, 276s. I >> >> compared >> >> (briefly) the outputs of the test from eclipse and Ant, and they look >> >> similar. >> >> >> >> Is this expected? Maybe when the test runs from Ant it does more work >> >> (i.e. >> >> system properties that are sent from build.xml but not in eclipse cause >> >> it >> >> to index more data or something?). If it helps, here's what the test >> >> prints: >> >> >> >> [junit4] Suite: org.apache.solr.util.SimplePostToolTest >> >> [junit4] 2> log4j:WARN No such property [conversionPattern] in >> >> org.apache.solr.util.SolrLogLayout. >> >> [junit4] 2> 396 T24 oas.SolrTestCaseJ4.setUp ###Starting testIsOn >> >> [junit4] 2> 23126 T24 oas.SolrTestCaseJ4.tearDown ###Ending >> >> testIsOn >> >> [junit4] OK 22.8s | SimplePostToolTest.testIsOn >> >> [junit4] 2> 23163 T24 oas.SolrTestCaseJ4.setUp ###Starting >> >> testAppendUrlPath >> >> [junit4] 2> 54667 T24 oas.SolrTestCaseJ4.tearDown ###Ending >> >> testAppendUrlPath >> >> [junit4] OK 31.5s | SimplePostToolTest.testAppendUrlPath >> >> [junit4] 2> 54682 T24 oas.SolrTestCaseJ4.setUp ###Starting >> >> testGuessType >> >> [junit4] 2> 77185 T24 oas.SolrTestCaseJ4.tearDown ###Ending >> >> testGuessType >> >> [junit4] OK 22.5s | SimplePostToolTest.testGuessType >> >> [junit4] 2> 77198 T24 oas.SolrTestCaseJ4.setUp ###Starting >> >> testTypeSupported >> >> [junit4] 2> 99701 T24 oas.SolrTestCaseJ4.tearDown ###Ending >> >> testTypeSupported >> >> [junit4] OK 22.5s | SimplePostToolTest.testTypeSupported >> >> [junit4] 2> 99712 T24 oas.SolrTestCaseJ4.setUp ###Starting >> >> testRobotsExclusion >> >> [junit4] 2> 122214 T24 oas.SolrTestCaseJ4.tearDown ###Ending >> >> testRobotsExclusion >> >> [junit4] OK 22.5s | SimplePostToolTest.testRobotsExclusion >> >> [junit4] 2> 122225 T24 oas.SolrTestCaseJ4.setUp ###Starting >> >> testParseArgsAndInit >> >> [junit4] 2> 144727 T24 oas.SolrTestCaseJ4.tearDown ###Ending >> >> testParseArgsAndInit >> >> [junit4] OK 22.5s | SimplePostToolTest.testParseArgsAndInit >> >> [junit4] 2> 144736 T24 oas.SolrTestCaseJ4.setUp ###Starting >> >> testDoWebMode >> >> [junit4] 2> SimplePostTool: WARNING: The URL >> >> http://example.com/disallowed returned a HTTP result status of 403 >> >> [junit4] 2> 185795 T24 oas.SolrTestCaseJ4.tearDown ###Ending >> >> testDoWebMode >> >> [junit4] 1> Entering crawl at level 0 (1 links total, 1 new) >> >> [junit4] 1> POSTed web resource http://example.com (depth: 0) >> >> [junit4] 1> Entering crawl at level 1 (2 links total, 2 new) >> >> [junit4] 1> POSTed web resource http://example.com/page2 (depth: >> >> 1) >> >> [junit4] 1> POSTed web resource http://example.com/page1 (depth: >> >> 1) >> >> [junit4] 1> Entering crawl at level 2 (2 links total, 2 new) >> >> [junit4] 1> POSTed web resource http://example.com/page1/foo >> >> (depth: 2) >> >> [junit4] 1> Entering crawl at level 3 (1 links total, 1 new) >> >> [junit4] 1> POSTed web resource http://example.com/page1/foo/bar >> >> (depth: 3) >> >> [junit4] 1> Entering crawl at level 0 (1 links total, 1 new) >> >> [junit4] 1> POSTed web resource http://example.com (depth: 0) >> >> [junit4] 1> Entering crawl at level 1 (2 links total, 2 new) >> >> [junit4] 1> POSTed web resource http://example.com/page2 (depth: >> >> 1) >> >> [junit4] 1> POSTed web resource http://example.com/page1 (depth: >> >> 1) >> >> [junit4] 1> Entering crawl at level 0 (1 links total, 1 new) >> >> [junit4] 1> POSTed web resource http://example.com (depth: 0) >> >> [junit4] 1> Entering crawl at level 1 (2 links total, 2 new) >> >> [junit4] 1> POSTed web resource http://example.com/page2 (depth: >> >> 1) >> >> [junit4] 1> POSTed web resource http://example.com/page1 (depth: >> >> 1) >> >> [junit4] 1> Entering crawl at level 2 (2 links total, 2 new) >> >> [junit4] 1> POSTed web resource http://example.com/disallowed >> >> (depth: >> >> 2) >> >> [junit4] 1> POSTed web resource http://example.com/page1/foo >> >> (depth: 2) >> >> [junit4] 1> Entering crawl at level 3 (1 links total, 1 new) >> >> [junit4] 1> POSTed web resource http://example.com/page1/foo/bar >> >> (depth: 3) >> >> [junit4] OK 41.1s | SimplePostToolTest.testDoWebMode >> >> [junit4] 2> 185806 T24 oas.SolrTestCaseJ4.setUp ###Starting >> >> testAppendParam >> >> [junit4] 2> 208310 T24 oas.SolrTestCaseJ4.tearDown ###Ending >> >> testAppendParam >> >> [junit4] OK 22.5s | SimplePostToolTest.testAppendParam >> >> [junit4] 2> 208320 T24 oas.SolrTestCaseJ4.setUp ###Starting >> >> testComputeFullUrl >> >> [junit4] 2> 230822 T24 oas.SolrTestCaseJ4.tearDown ###Ending >> >> testComputeFullUrl >> >> [junit4] OK 22.5s | SimplePostToolTest.testComputeFullUrl >> >> [junit4] 2> 230832 T24 oas.SolrTestCaseJ4.setUp ###Starting >> >> testNormalizeUrlEnding >> >> [junit4] 2> 253334 T24 oas.SolrTestCaseJ4.tearDown ###Ending >> >> testNormalizeUrlEnding >> >> [junit4] OK 22.5s | SimplePostToolTest.testNormalizeUrlEnding >> >> [junit4] 2> 253344 T24 oas.SolrTestCaseJ4.setUp ###Starting >> >> testDoFilesMode >> >> [junit4] 2> 275848 T24 oas.SolrTestCaseJ4.tearDown ###Ending >> >> testDoFilesMode >> >> [junit4] 1> Indexing directory >> >> D:\dev\lucene\lucene-5189\solr\build\solr-core\test-files\exampledocs >> >> (2 >> >> files, depth=0) >> >> [junit4] 1> POSTing file example.html (text/html) >> >> [junit4] 1> POSTing file example.txt (text/plain) >> >> [junit4] OK 22.5s | SimplePostToolTest.testDoFilesMode >> >> [junit4] 2> 275852 T24 oas.SolrTestCaseJ4.deleteCore ###deleteCore >> >> [junit4] Completed in 275.95s, 11 tests >> >> >> >> Is there a way to make it run faster in general, and slower if >> >> @Nightly? >> >> >> >> Shai >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org >> > For additional commands, e-mail: dev-h...@lucene.apache.org >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org >> For additional commands, e-mail: dev-h...@lucene.apache.org >> > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org