You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gobblin.apache.org by ab...@apache.org on 2018/03/23 10:11:25 UTC

[6/9] incubator-gobblin git commit: [GOBBLIN-439] Cleanup mock-couchbase after test suite

[GOBBLIN-439] Cleanup mock-couchbase after test suite


Project: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/commit/74e54eeb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/tree/74e54eeb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/diff/74e54eeb

Branch: refs/heads/0.12.0
Commit: 74e54eeb33190d64742ba3050ac3c696e806403b
Parents: 8f82a9a
Author: Abhishek Tiwari <ab...@gmail.com>
Authored: Fri Mar 23 02:01:21 2018 -0700
Committer: Abhishek Tiwari <ab...@apache.org>
Committed: Fri Mar 23 03:09:26 2018 -0700

----------------------------------------------------------------------
 gobblin-modules/gobblin-couchbase/build.gradle  |  5 +++++
 .../scripts/uninstall_test.deps.sh              | 20 ++++++++++++++++++++
 2 files changed, 25 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/74e54eeb/gobblin-modules/gobblin-couchbase/build.gradle
----------------------------------------------------------------------
diff --git a/gobblin-modules/gobblin-couchbase/build.gradle b/gobblin-modules/gobblin-couchbase/build.gradle
index 46a40fa..7e158a9 100644
--- a/gobblin-modules/gobblin-couchbase/build.gradle
+++ b/gobblin-modules/gobblin-couchbase/build.gradle
@@ -52,8 +52,13 @@ task installTestDependencies(type:Exec) {
   commandLine './scripts/install_test_deps.sh'
 }
 
+task uninstallTestDependencies(type:Exec) {
+  workingDir "${project.rootDir}/gobblin-modules/gobblin-couchbase/"
+  commandLine './scripts/uninstall_test.deps.sh'
+}
 
 test.dependsOn installTestDependencies
+test.finalizedBy uninstallTestDependencies
 
 
 configurations {

http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/74e54eeb/gobblin-modules/gobblin-couchbase/scripts/uninstall_test.deps.sh
----------------------------------------------------------------------
diff --git a/gobblin-modules/gobblin-couchbase/scripts/uninstall_test.deps.sh b/gobblin-modules/gobblin-couchbase/scripts/uninstall_test.deps.sh
new file mode 100755
index 0000000..cee8946
--- /dev/null
+++ b/gobblin-modules/gobblin-couchbase/scripts/uninstall_test.deps.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+rm -rf mock-couchbase