You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2017/09/24 01:22:48 UTC

[2/2] hbase git commit: HBASE-18467 change the nightly script to pass/fail psuedorandomly

HBASE-18467 change the nightly script to pass/fail psuedorandomly


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

Branch: refs/heads/HBASE-18467
Commit: f89b213dbf8e6295960c495ca066c6f4c57cddff
Parents: dba9f6c
Author: Sean Busbey <bu...@apache.org>
Authored: Sat Sep 23 20:20:11 2017 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Sat Sep 23 20:20:11 2017 -0500

----------------------------------------------------------------------
 dev-support/hbase_nightly_yetus.sh | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/f89b213d/dev-support/hbase_nightly_yetus.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase_nightly_yetus.sh b/dev-support/hbase_nightly_yetus.sh
index 007d64a..87c6ea4 100755
--- a/dev-support/hbase_nightly_yetus.sh
+++ b/dev-support/hbase_nightly_yetus.sh
@@ -16,6 +16,10 @@
 # specific language governing permissions and limitations
 # under the License.
 
+declare -i rc=$RANDOM
+let "rc %= 1"
+exit ${rc}
+
 declare -i missing_env=0
 # Validate params
 for required_env in "TESTS" "TOOLS" "BASEDIR" "ARCHIVE_PATTERN_LIST" "OUTPUT_RELATIVE" \