You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/10/13 13:57:02 UTC
[lucene-solr] branch reference_impl_dev updated: @981 Do cleanup in
After instead of Before.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl_dev by this push:
new 9d7b3ec @981 Do cleanup in After instead of Before.
9d7b3ec is described below
commit 9d7b3ecd02046eea14ab179ab744743e410dcea6
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Tue Oct 13 08:51:50 2020 -0500
@981 Do cleanup in After instead of Before.
---
.../org/apache/solr/cloud/api/collections/CustomCollectionTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/solr/core/src/test/org/apache/solr/cloud/api/collections/CustomCollectionTest.java b/solr/core/src/test/org/apache/solr/cloud/api/collections/CustomCollectionTest.java
index e909825..eb7686e 100644
--- a/solr/core/src/test/org/apache/solr/cloud/api/collections/CustomCollectionTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/api/collections/CustomCollectionTest.java
@@ -26,6 +26,7 @@ import org.apache.solr.cloud.SolrCloudTestCase;
import org.apache.solr.common.SolrInputDocument;
import org.apache.solr.common.cloud.DocCollection;
import org.apache.solr.common.cloud.Replica;
+import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
@@ -50,7 +51,7 @@ public class CustomCollectionTest extends SolrCloudTestCase {
.configure();
}
- @Before
+ @After
public void ensureClusterEmpty() throws Exception {
cluster.deleteAllCollections();
}