Repository: hbase Updated Branches: refs/heads/branch-1 beeb0796e -> f9afd9254
HBASE-21547 Precommit uses master flaky list for other branches Signed-off-by: Sean Busbey <bus...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f9afd925 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f9afd925 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f9afd925 Branch: refs/heads/branch-1 Commit: f9afd925482a662033fbe959ab746f1f0ea1a7e1 Parents: beeb079 Author: Peter Somogyi <psomo...@apache.org> Authored: Fri Dec 28 15:16:48 2018 +0100 Committer: Peter Somogyi <psomo...@apache.org> Committed: Wed Jan 2 08:41:46 2019 +0100 ---------------------------------------------------------------------- dev-support/hbase-personality.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/f9afd925/dev-support/hbase-personality.sh ---------------------------------------------------------------------- diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 93727b3..7f930d0 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -259,6 +259,20 @@ function get_include_exclude_tests_arg yetus_error "Wget error $? in fetching includes file from url" \ "${INCLUDE_TESTS_URL}. Ignoring and proceeding." fi + else + # Use branch specific exclude list when EXCLUDE_TESTS_URL and INCLUDE_TESTS_URL are empty + FLAKY_URL="https://builds.apache.org/job/HBase-Find-Flaky-Tests/job/${PATCH_BRANCH}/lastSuccessfulBuild/artifact/excludes/" + if wget "${FLAKY_URL}" -O "excludes"; then + excludes=$(cat excludes) + yetus_debug "excludes=${excludes}" + if [[ -n "${excludes}" ]]; then + eval "${__resultvar}='-Dtest.exclude.pattern=${excludes}'" + fi + rm excludes + else + yetus_error "Wget error $? in fetching excludes file from url" \ + "${FLAKY_URL}. Ignoring and proceeding." + fi fi }