This is an automated email from the ASF dual-hosted git repository.
achouhan pushed a commit to branch 4.14-HBase-1.3
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/4.14-HBase-1.3 by this push:
new ef0290a PHOENIX-5737 Hadoop QA run says no tests even though there
are added IT tests
ef0290a is described below
commit ef0290a7a03cf202dc6cf5972b5bbdc21333807c
Author: Sandeep Guggilam <[email protected]>
AuthorDate: Thu Feb 20 19:18:03 2020 -0800
PHOENIX-5737 Hadoop QA run says no tests even though there are added IT
tests
Signed-off-by: Abhishek Singh Chouhan <[email protected]>
---
dev/test-patch.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev/test-patch.sh b/dev/test-patch.sh
index a1161fb..8e22fc4 100755
--- a/dev/test-patch.sh
+++ b/dev/test-patch.sh
@@ -384,7 +384,7 @@ checkTests () {
echo "======================================================================"
echo ""
echo ""
- testReferences=`$GREP -c -i '/test' $PATCH_DIR/patch`
+ testReferences=`$GREP -c -i '/test\|/it' $PATCH_DIR/patch`
echo "There appear to be $testReferences test files referenced in the patch."
if [[ $testReferences == 0 ]] ; then
if [[ $JENKINS == "true" ]] ; then
@@ -414,9 +414,11 @@ checkTests () {
Also please list what manual steps were performed to
verify this patch."
return 1
fi
+ testsAdded=`$GREP -c -i -e '+ \+@Test' $PATCH_DIR/patch`
+ echo "There appear to be $testsAdded new tests added in the patch."
JIRA_COMMENT="$JIRA_COMMENT
- {color:green}+1 tests included{color}. The patch appears to include
$testReferences new or modified tests."
+ {color:green}+1 tests included{color}. The patch appears to include
$testsAdded new or modified tests."
return 0
}