Commit Graph

183 Commits

Author SHA1 Message Date
Mark Robert Miller 902e34af55 tests: improve some cloud tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446935 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 20:21:33 +00:00
Mark Robert Miller 384d42b5e3 SOLR-4421,SOLR-4165: On CoreContainer shutdown, all SolrCores should publish their state as DOWN.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446914 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 16:59:53 +00:00
Chris M. Hostetter 9e767a667d SOLR-4394: Tests and example configs demonstrating SSL with both server and client certs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445971 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 23:04:38 +00:00
Mark Robert Miller dd9ffb9bc5 SOLR-3911: Replicate after startup option would not replicate until the IndexWriter was lazily opened.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440508 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 16:29:05 +00:00
Mark Robert Miller 7f2353defd SOLR-3911: pass a context flag so that impls can use different strategies for index directories vs meta data file directories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432670 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 17:38:26 +00:00
Shalin Shekhar Mangar f41e563d7d SOLR-4112: Fixed DataImportHandler ZKAwarePropertiesWriter implementation so
import works fine with SolrCloud clusters

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432045 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 13:38:23 +00:00
Yonik Seeley b85bf15d38 tests: improve stack traces
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428138 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 02:04:46 +00:00
Dawid Weiss a25096e273 LUCENE-4650: Upgrade randomized testing to version 2.0.8: make the test framework more robust under low memory conditions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427696 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 08:16:22 +00:00
Mark Robert Miller 6b6d1f65c2 tests: only add a delete if the doc add did not fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427618 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 01:26:04 +00:00
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