You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by bi...@apache.org on 2015/03/13 20:01:23 UTC

[4/4] incubator-slider git commit: SLIDER-811 clean up existing provider in cert store IT

SLIDER-811 clean up existing provider in cert store IT


Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/833c2bb7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/833c2bb7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/833c2bb7

Branch: refs/heads/develop
Commit: 833c2bb7db1af99173f1ff9898bb54b759b4c96a
Parents: 42f1fbd
Author: Billie Rinaldi <bi...@gmail.com>
Authored: Fri Mar 13 12:00:54 2015 -0700
Committer: Billie Rinaldi <bi...@gmail.com>
Committed: Fri Mar 13 12:00:54 2015 -0700

----------------------------------------------------------------------
 .../slider/funtest/lifecycle/AMClientCertStoreRetrievalIT.groovy  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/833c2bb7/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AMClientCertStoreRetrievalIT.groovy
----------------------------------------------------------------------
diff --git a/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AMClientCertStoreRetrievalIT.groovy b/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AMClientCertStoreRetrievalIT.groovy
index 3163387..dae4cc3 100644
--- a/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AMClientCertStoreRetrievalIT.groovy
+++ b/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AMClientCertStoreRetrievalIT.groovy
@@ -148,6 +148,9 @@ implements FuntestProperties, Arguments, SliderExitCodes, SliderActions {
       UserGroupInformation.getCurrentUser().getShortUserName() + "/test-" +
       APPLICATION_NAME + ".jceks"
     Path providerPath = ProviderUtils.unnestUri(new URI(providerString))
+    if (clusterFS.exists(providerPath)) {
+      clusterFS.delete(providerPath, false)
+    }
 
     Configuration conf = loadSliderConf()
     conf.set(CredentialProviderFactory.CREDENTIAL_PROVIDER_PATH, providerString)