Mark Robert Miller
fc4ed67dc2
tests: fix - only do this check if there are actually different docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427616 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 01:19:08 +00:00
Mark Robert Miller
a5d5c905e0
tests: only do this check if there are actually different docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427606 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 00:47:23 +00:00
Uwe Schindler
ba52cd4e03
Revert SOLR-1972
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426230 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 15:48:37 +00:00
Mark Robert Miller
15bf918824
tests: parameterize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425818 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 04:44:50 +00:00
Mark Robert Miller
4bd6402d16
raise so timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424868 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 11:23:29 +00:00
Chris M. Hostetter
a5608fb81e
fix the 'double-slash' URL that has been taunting my nightmares ... doesn't appear to have any bearing on test correctness, but has definitely been confusing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424796 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 03:38:13 +00:00
Yonik Seeley
fb0a737ff6
tests: allow calling useFactory more than once
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424793 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 03:12:37 +00:00
Mark Robert Miller
719c4dd5e9
raise test so timeout for clients
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424611 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 17:57:22 +00:00
Mark Robert Miller
cb188b0679
don't alter recovery wait based on nightly or random multiplier
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424510 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 15:09:05 +00:00
Yonik Seeley
0fbb260f1e
tests: fix showDiff to only return differing ids
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423756 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 03:53:25 +00:00
Yonik Seeley
ad7c665177
tests: start single jetty in cloud mode w/ manual shard assignment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423753 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 03:44:29 +00:00
Yonik Seeley
2b800b3c0e
tests: don't start up default collection if numSlices<=0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423729 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 01:00:58 +00:00
Yonik Seeley
5f502ec003
SOLR-3180: improve logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423591 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 19:30:39 +00:00
Yonik Seeley
9a37c111db
tests: _version_ isn't comparable with control
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423182 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 22:03:27 +00:00
Yonik Seeley
3ad389d8f7
tests: show details of count mismatch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423179 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 21:59:25 +00:00
Uwe Schindler
59af60a806
SOLR-4205: Update randomized-testing framework to 2.0.7
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422836 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 10:36:40 +00:00
Mark Robert Miller
bebc60c979
raise test socket timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422797 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 08:48:29 +00:00
Mark Robert Miller
f5b5d3e17f
SOLR-4204: Make SolrCloud tests more friendly to FreeBSD blackhole 2 environments.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422728 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 00:38:03 +00:00
Uwe Schindler
497342bd6b
LUCENE-4632: Restrict test-framework's write permissions more: Only allow write to per-JVM CWD and the clover.db.dir; update randomizedtesting to 2.0.6
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422437 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 00:50:32 +00:00
Mark Robert Miller
38d16dc7b7
SOLR-4140: Allow access to the collections API through CloudSolrServer without referencing an existing collection.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421071 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 03:21:11 +00:00
Chris M. Hostetter
5992a831e4
SOLR-4136: fix hostContext randomization to never include double slashes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421034 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 23:02:20 +00:00
Chris M. Hostetter
50407282a7
Fix SolrCloud behavior when using "hostContext" containing "_" or"/" characters. This fix also makes SolrCloud more accepting of hostContext values with leading/trailing slashes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420497 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 00:26:09 +00:00
Yonik Seeley
c02c9dd262
SOLR-2592: cleanups - remove unneeded range info, rename getLeaderProps to getLeaderRetry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420284 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 17:02:13 +00:00
Shai Erera
e2f54df3ca
fix missing Overrides
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420195 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 14:31:01 +00:00
Yonik Seeley
6f6211d310
SOLR-4118: Fix replicationFactor to align with industry usage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419689 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 19:29:24 +00:00
Dawid Weiss
f26a84adca
LUCENE-4603: Upgrade randomized testing to version 2.0.5: print forked JVM PIDs on heartbeat from hung tests (Dawid Weiss)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419261 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 08:41:16 +00:00
Mark Robert Miller
ab00c42eff
SOLR-4158: When a core is registering in ZooKeeper it may not wait long enough to find the leader due to how long the potential leader waits to see replicas.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418818 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 05:52:08 +00:00
Yonik Seeley
2111cfecd8
tests: allow custom schema in ZK and copy to canonical schema name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418737 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 19:34:50 +00:00
Yonik Seeley
113437054c
SOLR-2592: more DocCollection refactoring in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418507 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 22:06:37 +00:00
Robert Muir
8f9bcb02f9
SOLR-4147: 64-bit IBM jre miscompiles code for these tests, they pass with -Xint
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418082 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 21:06:49 +00:00
Yonik Seeley
e34b5ea98e
SOLR-2592: delegate query-time shard selection to collection router
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416744 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 02:01:02 +00:00
Shai Erera
2ae7bbed6d
disable doubleWrite check in MockDirectoryFactory, or otherwise TestReplicationHandler fails
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416491 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 12:38:54 +00:00
Yonik Seeley
1cee959d6b
SOLR-2592: progress - introduce DocCollection, add properties for collections, add a router collection property, add some builtin routers, rename HashPartitioner to DocRouter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416025 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 17:13:26 +00:00
Mark Robert Miller
2c91a229cd
don't set solrhome to null after test has run
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411707 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 15:45:48 +00:00
Mark Robert Miller
2f6b3ecc6f
clean up static fields in test base class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411544 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 05:38:32 +00:00
Mark Robert Miller
dad188820e
SOLR-3602: Update ZooKeeper to 3.4.5
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411527 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 03:36:14 +00:00
Mark Robert Miller
f902314d74
SOLR-3993: If multiple SolrCore's for a shard coexist on a node, on cluster restart, leader election would stall until timeout, waiting to see all of the replicas come up.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408313 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 15:10:47 +00:00
Chris M. Hostetter
b6db7c76f1
SOLR-3904: progress adding package.html files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406204 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 16:17:50 +00:00
Alan Woodward
03ed8213cb
SOLR-1972: Add extra query stats to RequestHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403555 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 22:13:03 +00:00
Mark Robert Miller
3a71167078
when we timeout waiting for recoveries to finish, print the zk cluster state and current stack traces for all threads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403131 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 00:00:15 +00:00
Mark Robert Miller
2343f0d06a
more informative error msg in test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403056 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 18:04:23 +00:00
Dawid Weiss
e0e91d252f
Upgrade randomized testing to version 2.0.4: avoid hangs on shutdown
...
hooks hanging forever by calling Runtime.halt() in addition to
Runtime.exit() after a short delay to allow graceful shutdown (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402952 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 08:34:26 +00:00
Mark Robert Miller
5a6bb2b287
there should be a wait on this retry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402808 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 15:41:22 +00:00
Robert Muir
2cfc445f82
solr test failures unrelated to freebsd
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402798 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 14:17:47 +00:00
Mark Robert Miller
42f27adc1a
SOLR-3911: Make Directory and DirectoryFactory first class so that the majority of Solr's features work with any custom implementations.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402613 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 18:38:59 +00:00
Chris M. Hostetter
d4108c2b80
SOLR-3988: Fixed SolrTestCaseJ4.adoc(SolrInputDocument) to respect field and document boosts
...
SOLR-3981: Fixed bug that resulted in document boosts being compounded in <copyField/> destination fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401916 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 23:22:23 +00:00
Dawid Weiss
8fd5dd6bdd
Updating rr to 2.0.3
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1395778 13f79535-47bb-0310-9956-ffa450edef68
2012-10-08 21:05:46 +00:00
Michael McCandless
59a63c2f32
LUCENE-4451: upgrade to randomizedtesting-2.0.2.jar to reduce RAM overhead for tracking new threads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392541 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 19:29:53 +00:00
Uwe Schindler
b2b3a7aec3
Fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392464 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 17:44:00 +00:00
Uwe Schindler
09720113f8
LUCENE-4445: Fix clover to correcty instrument all packages, improve permgen
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391382 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 10:12:49 +00:00
Mark Robert Miller
d503f4a31f
SOLR-3892: Inconsistent locking when accessing cache in CachingDirectoryFactory from RAMDirectoryFactory and MockDirectoryFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390207 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 23:02:14 +00:00
Mark Robert Miller
c656ba11bf
SOLR-3869: A PeerSync attempt to it's replicas by a candidate leader should not fail on o.a.http.conn.ConnectTimeoutException.
...
Also turn on the use of jetty test mode with sys prop that was no longer being used - this improves the situation when we restart jetty. Both of these fixes should help our FreeBSD continuous build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389160 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 22:58:40 +00:00
Robert Muir
f025322f81
fix all malformed javadocs (@code/deprecated/param/returns/throws with no args)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389133 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 19:54:23 +00:00
Sami Siren
b8f9525142
do not write to test-files dir, use dirs that are less likely to collide for jettys
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388492 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 13:43:28 +00:00
Robert Muir
38d3c8ccd3
add missing resolve dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388246 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 22:13:55 +00:00
Uwe Schindler
7405b9772b
SOLR-3733: First version of patch (without Robert's changes)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388082 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:37:42 +00:00
Dawid Weiss
5efe1b60ba
LUCENE-4406, LUCENE-4407: Upgrade to randomizedtesting 2.0.1.
...
Workaround for broken test output XMLs due to non-XML text unicode
chars in strings. Added printing of failed tests at the end of a
test run (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387577 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 13:19:12 +00:00
Erick Erickson
580b53efdd
Fixes for SOLR-3846 (very long tests on OS X for TestReplicationHandler)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387099 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 11:40:13 +00:00
Mark Robert Miller
4214846719
switch some of the localhost usage to 127.0.0.1
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386639 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 14:46:02 +00:00
Robert Muir
362975cd8e
try to reduce the TestReplicationHandler noise to the dev list by not failing here for freebsd
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386588 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 12:45:26 +00:00
Mark Robert Miller
43d1451624
raise test timeout a bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385139 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:45:01 +00:00
Mark Robert Miller
eb275c2b43
SOLR-3831: Atomic updates do not distribute correctly to other nodes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385136 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:39:28 +00:00
Mark Robert Miller
ba5b6a4a71
try a longer wait
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385069 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 14:18:46 +00:00
Mark Robert Miller
f0185fb9d5
SOLR-3833: When a election is started because a leader went down, the new leader candidate should decline if the last state they published was not active.
...
SOLR-3836: When doing peer sync, we should only count sync attempts that cannot reach the given host as success when the candidate leader is syncing with the replicas - not when replicas are syncing to the leader.
SOLR-3835: In our leader election algorithm, if on connection loss we found we did not create our election node, we should retry, not throw an exception.
SOLR-3834: A new leader on cluster startup should also run the leader sync process in case there was a bad cluster shutdown.
SOLR-3772: On cluster startup, we should wait until we see all registered replicas before running the leader process - or if they all do not come up, N amount of time.
SOLR-3756: If we are elected the leader of a shard, but we fail to publish this for any reason, we should clean up and re trigger a leader election.
SOLR-3812: ConnectionLoss during recovery can cause lost updates, leading to shard inconsistency.
SOLR-3813: When a new leader syncs, we need to ask all shards to sync back, not just those that are active.
SOLR-3807: Currently during recovery we pause for a number of seconds after waiting for the leader to see a recovering state so that any previous updates will have finished before our commit on the leader - we don't need this wait for peersync.
SOLR-3837: When a leader is elected and asks replicas to sync back to him and that fails, we should ask those nodes to recovery asynchronously rather than synchronously.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384923 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 21:05:15 +00:00
Chris M. Hostetter
1de28d8c21
SOLR-3826: Test framework improvements for specifying coreName on initCore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384872 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 18:07:23 +00:00
Yonik Seeley
b34c9a9683
SOLR-3815: separate ZkNodeProps from Replica, change properties from String values to Object values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382621 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 02:14:50 +00:00
Dawid Weiss
b3c300709c
LUCENE-4360: Support running the same test suite multiple times in parallel.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381123 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 10:05:44 +00:00
Mark Robert Miller
678e35aa58
SOLR-3782: A leader going down while updates are coming in can cause shard inconsistency.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380974 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 04:03:55 +00:00
Sami Siren
dc0ad3cc2b
increase timeouts and wait time so that RecoveryZkTest is more likely to pass on a slower machine
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380581 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 11:57:27 +00:00
Dawid Weiss
f45c48e097
Don't interrupt zookeeper's SyncThread because it invokes system.exit. We
...
should ban System.exit via the policy file. Unfortunately System.exit is
used by the runner itself too (otherwise it wouldn't be able to exit the
JVM in the presence of background threads) so the policy would need to be
selective and either ban certain packages or revoke the grant for the
runner.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380200 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 11:10:53 +00:00
Mark Robert Miller
2fdd58398a
SOLR-3750: On session expiration, we should explicitly wait some time before running the leader sync process so that we are sure every node participates.
...
SOLR-3772: On cluster startup, we should wait until we see all registered replicas before running the leader process or if they all do not come up, N amount of time.
SOLR-3752: When a leader goes down, have the Overseer clear the leader state in cluster.json
SOLR-3751: Add defensive checks for SolrCloud updates and requests that ensure the local state matches what we can tell the request expected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379002 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 16:23:16 +00:00
Mark Robert Miller
574d859d2b
work harder to shutdown jetty for cases where jetty was started but could not bind to the port - not perfect yet, but works better than a std stop - missed this class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378951 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 14:20:45 +00:00
Robert Muir
84fb1d09d0
LUCENE-4334: remove unnecessary ant-junit dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378090 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 11:50:28 +00:00
Chris M. Hostetter
769c9003cd
SOLR-3690: Fixed binary release packages to include dependencies needed for the solr-test-framework
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373553 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 18:30:04 +00:00
Mark Robert Miller
12cbfaf62a
SOLR-3730: Rollback is not implemented quite right and can cause corner case fails in SolrCloud tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373398 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 13:34:34 +00:00
Mark Robert Miller
c607f548bb
solrcloud: improve some logging, improve some testing, other minor tweaks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372981 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 17:16:43 +00:00
Mark Robert Miller
2c31ae30e5
SOLR-3727: improve solrcloud close/shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372626 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 21:22:08 +00:00
Dawid Weiss
d72080551a
Add issue pointer.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372316 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 08:41:40 +00:00
Dawid Weiss
cebfa0b9b9
LUCENE-3985: Upgrade to randomizedtesting 2.0.0. Added support for thread leak detection. Added support for suite timeouts. (Dawid Weiss)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372068 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 11:23:11 +00:00
Mark Robert Miller
f8bdd18671
fix test msg
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371397 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:21:04 +00:00
Chris M. Hostetter
90fdd55ae5
remove broken @returns from javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370908 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 19:36:21 +00:00
Mark Robert Miller
e528549a3b
still favor leaders with CloudSolrServer, but also fall back to replicas after leaders
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370864 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:01:11 +00:00
Yonik Seeley
0834c89f92
tests: fix test of unordered namedlist, skip explain comparisons
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369984 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 20:26:59 +00:00
Robert Muir
467faeaae0
LUCENE-4260: factor subPackages out of the resourceloader interface
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366360 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 12:15:03 +00:00
Robert Muir
8bfa167a73
LUCENE-4257: factor the getLines in REsourceLoader in WordListLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365992 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 13:43:28 +00:00
Yonik Seeley
19aa69b0cd
SOLR-3656 SOLR-3662: core reload improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364409 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 19:45:00 +00:00
Robert Muir
22b5c84800
LUCENE-4243: MockDirectoryWrapper synchronizes too much
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363971 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 22:09:26 +00:00
Yonik Seeley
cc90a37ed7
tests: test harness shouldn't hold core reference
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363819 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 15:04:23 +00:00
Mark Robert Miller
fc2d0ca5e6
raise default timeout a bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363512 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 20:05:07 +00:00
Yonik Seeley
66898c2659
tests: add core reload stress test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363082 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 20:05:11 +00:00
Robert Muir
e003b49cab
LUCENE-4228: refactor CharFilter to be a java.io.FilterReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362442 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 10:53:28 +00:00
Yonik Seeley
9875dc69fb
tests: fix AIOOB if last list element is skipped
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361517 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 10:25:08 +00:00
Yonik Seeley
e61e9134a8
SOLR-2702: add replication support to NRTCachingDirectoryFactory and make it the default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358650 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 21:48:19 +00:00
Robert Muir
6569c4854b
LUCENE-4185: don't apply CharFilters twice in Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358481 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 00:32:28 +00:00
Mark Robert Miller
a5b001981d
fix test bug around closing cores
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357996 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 23:48:03 +00:00
Mark Robert Miller
3bbbd0bea3
SOLR-3488: Added a Collection management API for SolrCloud.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356313 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 15:57:12 +00:00
Steven Rowe
fd16190940
LUCENE-4172: clean up redundant throws clauses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355069 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 16:39:25 +00:00
Mark Robert Miller
1fc4347e41
SOLR-1770: Move the default core instance directory into a collection1 folder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354308 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 01:48:00 +00:00
Chris M. Hostetter
2ac3eb27c4
LUCENE-3949: fix license headers to not be javadoc style comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348980 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 19:26:18 +00:00
Yonik Seeley
2b3ce2d435
tests: turn up logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341526 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 15:25:04 +00:00
Dawid Weiss
4652d65f0b
LUCENE-4047: Cleanup of LuceneTestCase: moved blocks of initialization/ cleanup code into JUnit instance and class rules.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1338826 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 18:47:45 +00:00
Christopher John Male
43fc21c41e
LUCENE-2510: Simplified analysis factory test hierarchy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1336462 13f79535-47bb-0310-9956-ffa450edef68
2012-05-10 01:06:43 +00:00
Ryan McKinley
800f5a54a6
SOLR-2857: add UpdateRequestHandler that handles xml,csv,json, and javabin
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1335768 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:06:10 +00:00
Yonik Seeley
e35df0b58f
SOLR-139 SOLR-3178 : Updateable documents, optimistic locking
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1335642 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 17:00:33 +00:00
Christopher John Male
0bad718d58
LUCENE-2510: Moved Analysis Factory parent classes into analysis module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1335331 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 03:23:47 +00:00
Yonik Seeley
612d9227de
SOLR-3427: fix NPE in UnInvertedField faceting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1333125 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 17:50:33 +00:00
Christopher John Male
d8898b662d
LUCENE-2510: Moved ResourceLoader/Aware into analysis module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1332037 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 01:34:48 +00:00
Christopher John Male
9dcae1a12f
SOLR-3402: Analysis Factory Lucene Version is now parsed outside of the Factories
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1331220 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 05:18:38 +00:00
Chris M. Hostetter
c0a94ba5f8
SOLR-2605: fixed tracking of the 'defaultCoreName' in CoreContainer so that CoreAdminHandler could return consistent information regardless of wether there is a a default core name or not
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1330028 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 21:42:19 +00:00
Robert Muir
ab3f63d279
LUCENE-4011: fix most broken links in solr javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329235 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 13:44:03 +00:00
David Wayne Smiley
81efc28978
SOLR-3161 TestHarness shouldn't configure 'qt' to be "standard" by default; let it be null to get the default handler.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329071 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 05:46:39 +00:00
Robert Muir
dad1d28085
LUCENE-3977: remove javadoc duplication in the website/binary release
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328605 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 07:51:46 +00:00
Ryan McKinley
e34753cd57
SOLR-3358: Logging events are captured and available from the /admin/logging request handler.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327210 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 18:12:09 +00:00
Christopher John Male
a4cbd8a605
SOLR-3357: Added expected Class type to ResourceLoader.newInstance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326879 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 02:03:05 +00:00
Dawid Weiss
cf85aab1a0
LUCENE-3808: Switch LuceneTestCaseRunner to RandomizedRunner. Enforce Random sharing contracts. Enforce thread leaks.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326351 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 14:41:44 +00:00
Yonik Seeley
8360a4e387
tests: avoid FC insanity test for distributed tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326199 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 20:19:23 +00:00
Robert Muir
2fe2e82584
LUCENE-1866: better RAT reporting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1309248 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 05:03:53 +00:00
Jan Høydahl
058179d177
SOLR-1052: Deprecate/Remove <indexDefaults> and <mainIndex> in favor of <indexConfig> in solrconfig.xml (trunk)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308608 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 22:55:37 +00:00
Robert Muir
73db5ff5fc
SOLR-2435: nuke confusing duplicate junit dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308529 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 20:15:01 +00:00
Robert Muir
8f0d7cc135
LUCENE-3930: nuke jars from source tree and use ivy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307563 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 18:04:43 +00:00
Yonik Seeley
6209a4123b
tests: increase connection timeouts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307123 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 21:39:30 +00:00
Sami Siren
b5f8deb795
SOLR-2020: migrate to Java client that uses Apache Http Components http client (4.x)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306800 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 12:11:37 +00:00
Yonik Seeley
859814a06f
SOLR-3161: ignore expected exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306702 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 03:27:02 +00:00
Yonik Seeley
0827fffde6
SOLR-2656: distrib/cloud support for realtime get
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306018 13f79535-47bb-0310-9956-ffa450edef68
2012-03-27 20:58:34 +00:00
Robert Muir
a29a14698e
fix eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305339 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 12:58:58 +00:00
Ryan McKinley
a57f29a367
SOLR-3159: Upgrade example and tests to run with Jetty 8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298108 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 20:49:28 +00:00
Dawid Weiss
8041c826a7
Class rule to store the currently executing test class. Removed Solr's code that pulled this from the stack frames (which wasn't working because rules wrap the actual test code).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297940 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 11:20:16 +00:00
Uwe Schindler
989530e17e
LUCENE-3850: Fix rawtypes warnings for Java 7 compiler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297048 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 13:34:40 +00:00
Dawid Weiss
ff27ca3738
LUCENE-3847: LuceneTestCase will now check for modifications of System properties before and after each test (and suite). If changes are detected, the test will fail. A rule can be used to reset system properties to before-scope state (and this has been used to make Solr tests pass).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296888 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 22:03:20 +00:00
Yonik Seeley
6dc05950ae
SOLR-3157: remove isTestLoggingFormat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294968 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 04:16:17 +00:00
Yonik Seeley
19652ce169
SOLR-3157: restrict changes to logging string to formatter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294967 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 04:12:35 +00:00
Yonik Seeley
2b055c2195
SOLR-3157: improve logging, restore legacy logging if not testing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294911 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 00:12:44 +00:00
Yonik Seeley
0b7cf94411
improve logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294466 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 05:29:52 +00:00
Mark Robert Miller
5713824147
SOLR-3153: When a leader goes down he should ask replicas to sync in parallel rather than serially.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292652 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 05:22:31 +00:00
James Dyer
264eb5690a
SOLR-2847
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244553 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 15:52:32 +00:00
Steven Rowe
d47f01c350
LUCENE-3754: Store generated archive manifests in per-module output directories - each artifact gets its own manifest file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244536 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 15:30:53 +00:00
Steven Rowe
eb0ab3d392
LUCENE-3753: Restructure the Lucene build system
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241588 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 19:59:05 +00:00
Mark Robert Miller
80db6d38c2
try turning indexsearcher open/close check back on
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239993 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 03:25:49 +00:00
Yonik Seeley
f6e4fceda2
SOLR-3078: only return update versions on request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239437 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 02:17:54 +00:00
Robert Muir
3d55e144ac
SOLR-3056: support kuromoji in core
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239117 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 13:01:44 +00:00
Mark Robert Miller
e1cb522921
SOLR-3066: check if waiting twice as long for solrindexsearchers to be returned changes anything with searcher cnt mismatch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237536 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 02:57:42 +00:00
Yonik Seeley
817b1e3fe0
SOLR-3066: don't fail for searcher open/close mismatch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237140 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 19:02:39 +00:00
Mark Robert Miller
d3fa5ea86e
try raising how long we will wait for balanced open/close
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236939 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 00:24:32 +00:00
Yonik Seeley
b141bbb52e
tests:remove tracing exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236825 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 18:59:50 +00:00
Yonik Seeley
a557fb9f24
tests: don't make it an error if counts aren't reset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236768 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 17:14:47 +00:00
Yonik Seeley
d405c74084
tests: reset counts at start of test also
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236458 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 00:12:37 +00:00
Mark Robert Miller
231445f166
raise the length of time that we are willing to wait for searchers to be closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236440 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:03:51 +00:00
Yonik Seeley
5293942927
don't reset counts until after we are done retrying
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236352 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:16:08 +00:00
Mark Robert Miller
9fed484fb1
SOLR-2358: merge in solrcloud branch (watch out hudson!)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235888 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 19:49:26 +00:00
Jan Høydahl
d0e4e731d9
SOLR-2280: commitWithin ignored for a delete query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235305 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 15:41:16 +00:00