You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2016/11/15 09:23:50 UTC

[2/2] camel git commit: CAMEL-10409 Removed the run-test-leak.sh, as the unit test is enable the memory leak detect by default

CAMEL-10409 Removed the run-test-leak.sh, as the unit test is enable the memory leak detect by default


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/73416c7c
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/73416c7c
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/73416c7c

Branch: refs/heads/camel-2.18.x
Commit: 73416c7c980bda6c0a89f48f98c185fe594c5b53
Parents: 738839f
Author: Willem Jiang <wi...@gmail.com>
Authored: Tue Nov 15 17:23:13 2016 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Tue Nov 15 17:23:34 2016 +0800

----------------------------------------------------------------------
 components/camel-netty4-http/run-test-leak.sh | 31 ----------------------
 components/camel-netty4/run-test-leak.sh      | 31 ----------------------
 2 files changed, 62 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/73416c7c/components/camel-netty4-http/run-test-leak.sh
----------------------------------------------------------------------
diff --git a/components/camel-netty4-http/run-test-leak.sh b/components/camel-netty4-http/run-test-leak.sh
deleted file mode 100755
index 409a814..0000000
--- a/components/camel-netty4-http/run-test-leak.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-## ---------------------------------------------------------------------------
-## 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.
-## ---------------------------------------------------------------------------
-
-echo 'Running tests with Netty leak detection ...'
-mvn clean install -Dio.netty.leakDetectionLevel=paranoid -Dio.netty.leakDetection.maxRecords=20
-
-echo 'Checking log file if there is any leaks ...'
-
-if grep LEAK target/camel-netty4-http-test.log; then
-    echo 'LEAK found'
-    exit 1
-else
-    echo 'No LEAK found'
-    exit 0
-fi

http://git-wip-us.apache.org/repos/asf/camel/blob/73416c7c/components/camel-netty4/run-test-leak.sh
----------------------------------------------------------------------
diff --git a/components/camel-netty4/run-test-leak.sh b/components/camel-netty4/run-test-leak.sh
deleted file mode 100755
index 409a814..0000000
--- a/components/camel-netty4/run-test-leak.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-## ---------------------------------------------------------------------------
-## 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.
-## ---------------------------------------------------------------------------
-
-echo 'Running tests with Netty leak detection ...'
-mvn clean install -Dio.netty.leakDetectionLevel=paranoid -Dio.netty.leakDetection.maxRecords=20
-
-echo 'Checking log file if there is any leaks ...'
-
-if grep LEAK target/camel-netty4-http-test.log; then
-    echo 'LEAK found'
-    exit 1
-else
-    echo 'No LEAK found'
-    exit 0
-fi