We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5cfabd commit 5e159c3Copy full SHA for 5e159c3
solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java
@@ -87,9 +87,15 @@ public static void createThings() throws Exception {
87
}
88
89
@AfterClass
90
- public static void destroyThings() {
91
- collection1 = null;
92
- collection2 = null;
+ public static void destroyThings() throws IOException {
+ if (collection1 != null) {
+ collection1.close();
93
+ collection1 = null;
94
+ }
95
+ if (collection2 != null) {
96
+ collection2.close();
97
+ collection2 = null;
98
99
resetExceptionIgnores();
100
systemClearPropertySolrEnableUrlAllowList();
101
0 commit comments