Repository: camel Updated Branches: refs/heads/camel-2.18.x 738839fd0 -> 73416c7c9 refs/heads/master f5dccb880 -> ced3b4b7f
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/ced3b4b7 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ced3b4b7 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ced3b4b7 Branch: refs/heads/master Commit: ced3b4b7f4ccadfc1ca673edfc5014cb669a8f84 Parents: f5dccb8 Author: Willem Jiang <willem.ji...@gmail.com> Authored: Tue Nov 15 17:23:13 2016 +0800 Committer: Willem Jiang <willem.ji...@gmail.com> Committed: Tue Nov 15 17:23:13 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/ced3b4b7/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/ced3b4b7/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