You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drat.apache.org by ma...@apache.org on 2018/08/11 18:58:38 UTC
[drat] 02/02: Wipe stats core too.
This is an automated email from the ASF dual-hosted git repository.
mattmann pushed a commit to branch gsoc18
in repository https://gitbox.apache.org/repos/asf/drat.git
commit 5c21cd0898bc609474c43d689900f53cd502f1c8
Author: Chris Mattmann <ch...@jpl.nasa.gov>
AuthorDate: Sat Aug 11 11:58:18 2018 -0700
Wipe stats core too.
---
proteus/src/main/java/backend/ProcessDratWrapper.java | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/proteus/src/main/java/backend/ProcessDratWrapper.java b/proteus/src/main/java/backend/ProcessDratWrapper.java
index 66d2dd2..2cd3c81 100644
--- a/proteus/src/main/java/backend/ProcessDratWrapper.java
+++ b/proteus/src/main/java/backend/ProcessDratWrapper.java
@@ -252,9 +252,11 @@ public class ProcessDratWrapper extends GenericProcess
String wmUrl = PathUtils.replaceEnvVariables("[WORKFLOW_URL]");
this.wipeInstanceRepo(wmUrl);
- String coreName = "drat";
- resetLog.logInfo("DRAT: reset: wiping Solr core: [" + coreName + "]");
- this.wipeSolrCore(coreName);
+ String coreNames = {"drat", "statistics"};
+ for(String coreName: coreNames){
+ resetLog.logInfo("DRAT: reset: wiping Solr core: [" + coreName + "]");
+ this.wipeSolrCore(coreName);
+ }
resetLog.logInfo("DRAT: reset: recursively removed: [" + Utils.getResetDirectories()
+ "]");