From common-issues-return-205539-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Wed Sep 9 18:27:56 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 5F907180652 for ; Wed, 9 Sep 2020 20:27:56 +0200 (CEST) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id 804B21220FF for ; Wed, 9 Sep 2020 18:27:55 +0000 (UTC) Received: (qmail 59413 invoked by uid 500); 9 Sep 2020 18:27:55 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 59400 invoked by uid 99); 9 Sep 2020 18:27:55 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2020 18:27:55 +0000 From: =?utf-8?q?GitBox?= To: common-issues@hadoop.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bhadoop=5D_bilaharith_commented_on_a_change_in_pull?= =?utf-8?q?_request_=232278=3A_HADOOP-17191=2E_ABFS=3A_Run_the_integration_t?= =?utf-8?q?ests_with_various_combinations_of_configurations_and_publish_a_co?= =?utf-8?q?nsolidated_results?= Message-ID: <159967607505.32230.14307133447559986795.asfpy@gitbox.apache.org> Date: Wed, 09 Sep 2020 18:27:55 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit In-Reply-To: References: bilaharith commented on a change in pull request #2278: URL: https://github.com/apache/hadoop/pull/2278#discussion_r485827246 ########## File path: hadoop-tools/hadoop-azure/testsupport.sh ########## @@ -0,0 +1,109 @@ +#!/usr/bin/env 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. + +conffile=src/test/resources/abfs-testrun-configs.xml +bkpconffile=src/test/resources/abfs-testrun-configs_BKP.xml +testresultsregex="Results:(\n|.)*?Tests run:" +testresultsfilename= +starttime= + +validate() { + if [ -z "$scenario" ]; then + echo "Exiting. scenario cannot be empty" + exit + fi + propertiessize=${#properties[@]} + valuessize=${#values[@]} + if [ "$propertiessize" -lt 1 ] || [ "$valuessize" -lt 1 ] || [ "$propertiessize" -ne "$valuessize" ]; then + echo "Exiting. Both properties and values arrays has to be populated and of same size. Please check for scenario $scenario" + exit + fi +} + +checkdependancies() { Review comment: Done ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org