From a6f8dd74f0e4a0363353b422914ccc71bf7315a4 Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Wed, 18 Oct 2017 12:59:05 +0100 Subject: [PATCH] Fix two s/recieve/receive typos. --- .../org/apache/solr/cloud/TestRandomRequestDistribution.java | 2 +- .../test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/solr/core/src/test/org/apache/solr/cloud/TestRandomRequestDistribution.java b/solr/core/src/test/org/apache/solr/cloud/TestRandomRequestDistribution.java index b53e457e7d1..0becd240835 100644 --- a/solr/core/src/test/org/apache/solr/cloud/TestRandomRequestDistribution.java +++ b/solr/core/src/test/org/apache/solr/cloud/TestRandomRequestDistribution.java @@ -98,7 +98,7 @@ public class TestRandomRequestDistribution extends AbstractFullDistribZkTestBase String registry = core.getCoreMetricManager().getRegistryName(); Counter cnt = metricManager.counter(null, registry, "requests", "QUERY./select"); // sanity check - assertEquals(core.getName() + " has already recieved some requests?", + assertEquals(core.getName() + " has already received some requests?", 0, cnt.getCount()); counters.put(core.getName(), cnt); } diff --git a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java index c35004ec395..8e129c7b292 100644 --- a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java +++ b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java @@ -2210,7 +2210,7 @@ public abstract class SolrTestCaseJ4 extends LuceneTestCase { } /** - * A variant of {@link org.apache.solr.client.solrj.impl.CloudSolrClient.Builder} that will randomize which nodes recieve updates + * A variant of {@link org.apache.solr.client.solrj.impl.CloudSolrClient.Builder} that will randomize which nodes receive updates * unless otherwise specified by the caller. * * @see #sendDirectUpdatesToAnyShardReplica