Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
067aafa
Added test for realtime helper process leak.
lordnull Dec 30, 2014
7539ad5
Made test more reliable to check for leaks.
lordnull Jan 8, 2015
712ea2c
Add failing test for github issue riak-727
russelldb Apr 14, 2015
c8af6c6
Clean up comment typo and poorly named function
russelldb Apr 14, 2015
88bbcca
Remove extraneous and inaccurate comment
russelldb Apr 14, 2015
2e7f093
Hopefully fix the disconnection issue in the riak667_mixed test
May 7, 2015
8223c7d
Update build versions to 2.1.1
Jun 1, 2015
c7dad9c
Switch to using devrels instead of stagedevrels
Jun 1, 2015
d868cb5
Add in the VERSION file for each version of the built devrel
Jun 2, 2015
d61060a
Change the VERSION file to have only the dotted version, not the product
Jun 2, 2015
5b82111
Strip the newline at the end of the VERSION file
Jun 2, 2015
0683639
Re-write of handle_handoff_write_once to test handle_handoff_command.
fadushin Jul 2, 2015
f330f86
Reverted to original verify_handoff_write_once test with modifications
fadushin Jul 2, 2015
b68ffbc
update some yokozuna tests from work done in riak/2.0 branch for 2.0.…
zeeshanlakhani Jul 7, 2015
fbedd4c
Tried to make the verify_handoff_write_once test more predictable
fadushin Jul 7, 2015
3fa57b4
Added a cap to the number of messages to be send asynchronously, to g…
fadushin Jul 7, 2015
62335cf
Merge pull request #808 from basho/zl/forward-merge-riak/2.0-yoko-tests
fadushin Jul 13, 2015
c2d610a
Force calls to riak_kv_vnode:handle_handoff_command during a handoff.
fadushin Jul 16, 2015
85c79f4
Cleaned up the verify_handoff_write_once to run faster
fadushin Jul 16, 2015
90c18d4
Backed out a false start in the riak_core_handoff_sender intercept
fadushin Jul 16, 2015
fc21bbe
Merge commit '62335cf416dd3d68b0fae524e78a4973d65da8fe' into bugfix/f…
fadushin Jul 16, 2015
e38c0f2
Cleaned up async process to remove code that is not exercised by this…
fadushin Jul 17, 2015
1e39711
Add basic cluster converge test to try to capture issues with cluster
Jul 17, 2015
16ce998
* clean-up yokozuna_rt for reusability
zeeshanlakhani Jun 2, 2015
0ffcc61
Add verify_snmp_repl riak_test
jvoegele Jul 20, 2015
3a7be66
Remove extraneous lager call
jvoegele Jul 20, 2015
666f0ca
Added intercepts to count the synchronous and asynchronous calls thro…
fadushin Jul 21, 2015
b08e8d8
Merge pull request #813 from basho/feature/simple_cluster_test
Jul 21, 2015
9fae776
Update documented versions to be 1.4, 2.0 and 2.1
Jul 21, 2015
e8a92c4
Back out addition of --ignore-removal from git add command
Jul 21, 2015
9dd2165
Merge pull request #814 from basho/bugfix/RIAK-1884
JeetKunDoug Jul 23, 2015
a418bae
Write-Once test improvements
fadushin Jul 23, 2015
399759c
Added some documentation to the test.
fadushin Jul 23, 2015
c8d3138
Missed a change in previous commit
fadushin Jul 23, 2015
6f979d6
Mode a change in the protocol between vnodes and our bg proc in the t…
fadushin Jul 23, 2015
2ea13ff
Add product name back to VERSION file
Jul 24, 2015
87f3f88
Modified test to wait to send messages until all waiting vnodes are i…
fadushin Jul 24, 2015
5cf5ef0
Cleaned up commented code. No change in behavior.
fadushin Jul 24, 2015
68ca37a
Adjust verify_membackend:get_used_space/2 to work with Riak 2.1+
Jul 24, 2015
f349c02
Fix riak_control and riak_control_authentication for Riak 2.1+
Jul 26, 2015
98c6832
Switch check_put_delete/1 to use a range of acceptable sizes
Jul 27, 2015
7e7cb73
Add rt:wait_until_bucket_type_visible to avoid floppiness in test - v…
Jul 28, 2015
24c63fe
Merge pull request #816 from basho/bugfix/bch/update_membackend_regex
Jul 28, 2015
fa7224a
Merge pull request #812 from basho/bugfix/fd/RIAK-1850
fadushin Jul 29, 2015
a88a20f
Merge pull request #791 from basho/bugfix/sdc/667-mixed-auto-reconnect
Jul 29, 2015
73c24ab
Update the URL for pulling down kerl
Jul 30, 2015
875e50b
Merge pull request #800 from basho/add-tests/zl/test-reload-schema-fi…
zeeshanlakhani Jul 30, 2015
1e68033
If Darwin, don't build hipe/odbc
Jul 30, 2015
13408eb
add some clarity to ordering of socket close and such
zeeshanlakhani Jul 31, 2015
4034777
Change verify_memorybackend to use calls to core and kv to determine
Jul 30, 2015
3c9fae3
Make the release build process more reliable
Jul 31, 2015
b44a670
Merge branch 'feature/bch/update-rtdev-versions' of github.com:/basho…
Jul 31, 2015
c746eb9
Make the erlang builds more official
Aug 1, 2015
2e1290f
Merge pull request #819 from basho/feature/mra/rtdev-osx
Aug 3, 2015
659f96a
Build Basho-patched Erlang and add tweaks for CentOS
Aug 3, 2015
920ddf7
Update R16 version to OTP_R16B02_basho9 tag
Aug 3, 2015
c192f92
Make release tags BASH variable
Aug 3, 2015
ff1f73c
Update versions built
Aug 4, 2015
aa3f053
Merge pull request #815 from basho/feature/bch/update-rtdev-versions
Aug 4, 2015
ae7815d
switcheroo
zeeshanlakhani Aug 5, 2015
662fa8e
Merge pull request #824 from basho/bugfix/zl/big-dummy-blame-zeeshan-…
fadushin Aug 5, 2015
65d5565
Merge pull request #817 from basho/bugfix/bch/update_riak_control_ver…
Aug 7, 2015
346a651
Merge pull request #820 from basho/tests/zl/yz-extractors-bit-o-clean…
zeeshanlakhani Aug 10, 2015
987f982
Merge pull request #782 from basho/rdb/gh-riak-727
macintux Aug 11, 2015
8ada302
Merge pull request #821 from basho/bugfix/bch/cleanup_verify_membackend
Aug 12, 2015
4b9c91b
Merge remote-tracking branch 'origin/riak/2.0' into merge-forward/zl/…
zeeshanlakhani Aug 13, 2015
4a5d42c
Merge pull request #833 from basho/merge-forward/zl/riak/2.0tomaster
Aug 13, 2015
9db55b5
Merge branch 'riak/2.0'
Aug 14, 2015
d3a17e9
Merge remote-tracking branch 'origin/riak/2.0' into merge-forward/zl/…
zeeshanlakhani Aug 14, 2015
357e8f4
Merge pull request #838 from basho/merge-forward/zl/riak/2.0_head_97b…
zeeshanlakhani Aug 14, 2015
f6fb08c
Move rt_cs_dev to cs repo
ksauzz Aug 17, 2015
bbf44fd
Forward merge (potential) fix for riak667_mixed {error, disconnected}…
Aug 21, 2015
6d63bd5
Merge pull request #843 from basho/bugfix/dr/forward_merge_riak667_co…
fadushin Aug 23, 2015
31b1002
Added rt:create_activate_and_wait_for_bucket_type so that the test can
Aug 25, 2015
adbaa99
Merge pull request #847 from basho/bugfix/dr/http_bucket_types_should…
fadushin Aug 25, 2015
9ee8565
Fail with the bare atom fail
jvoegele Aug 25, 2015
8641f6e
Crash test process instead of returning fail atom
jvoegele Aug 25, 2015
72d7db2
Merge pull request #844 from basho/feature/move-cs-harness-to-cs-repo
ksauzz Aug 26, 2015
b71e582
Log when original version of intercepted function fails
jvoegele Aug 26, 2015
b8dfb15
Merge pull request #852 from basho/bugfix/verify-snmp-repl-fail-appro…
jvoegele Aug 26, 2015
51db1bd
Merge branch 'riak/2.0' into forward_merge/dr/riak_2.0_to_master
Aug 26, 2015
222d559
Merge pull request #854 from basho/forward_merge/dr/riak_2.0_to_master
JeetKunDoug Aug 26, 2015
1f719ab
Add copyright and Apache License Version 2.0
mikewallace1979 Sep 11, 2015
afa57bd
Merge pull request #864 from mikewallace1979/add-apache-licese-to-int…
Sep 11, 2015
9bcd4a6
Induce race condition in riak_snmp_stat_poller
jvoegele Aug 28, 2015
99e1bab
update extractors test to check for possible issue w/ expiry and cust…
zeeshanlakhani Sep 9, 2015
dfcad14
update yz tests to use commit fn instead of sleep
zeeshanlakhani Sep 9, 2015
35cb49f
Verify cluster stats in SNMP
jvoegele Sep 11, 2015
ea5f62d
Refactor some Yokozuna tests to eliminate duplication
jvoegele Sep 24, 2015
0768ebc
yokozuna_rt additions for types and better testing w/ allow-mult=true…
zeeshanlakhani Oct 9, 2015
e72826d
Merge pull request #866 from basho/bugfix/forward-merge-snmp-stat-pol…
jvoegele Oct 15, 2015
2d7ac6a
Merge of several YZ changes and overload fix from riak/2.0 to riak/2.1
Oct 23, 2015
aec55f2
Merge pull request #901 from basho/bugfix/merge-overload-from-2.0
JeetKunDoug Oct 23, 2015
f75d154
Merge pull request #905 from basho/merge/2.1-to-master
JeetKunDoug Oct 24, 2015
753940a
sure up possible race between upgrade and first check
zeeshanlakhani Nov 18, 2015
0fc3f77
Merge pull request #934 from basho/forwardport/zl/sure-up-yz_extractors
zeeshanlakhani Nov 19, 2015
2be9c2f
Fix race in repl_rt_heartbeat due to short timeout
nickelization Nov 23, 2015
0816c31
Merge pull request #937 from basho/bugfix/heartbeat-timeout
nickelization Nov 25, 2015
0d1b0be
Add cleanup intercepts function
ksauzz Dec 17, 2015
6157fe2
Update spec
ksauzz Dec 18, 2015
dd43bf6
Merge pull request #961 from basho/feature/add-cleanup-intercepts
shino Dec 18, 2015
dca0164
Syntax error in .riak_test.config
lukebakken Jan 26, 2016
9b521b9
Ensure git adds everything and ignores any global ignore settings
Jan 26, 2016
8d4040a
Merge pull request #980 from basho/fixes/lrb/force-add-allthethings
Jan 26, 2016
d66bf75
Add tests for read repair object limits
Mar 2, 2016
9f4b6b8
Merge pull request #722 from basho/bug/mw/rt-helper-process-leak
Mar 3, 2016
1d6ab06
Remove unnecessary sleeps in verify_object_limits
nickelization Mar 4, 2016
d9d1225
Merge pull request #1009 from basho/feature/bjs/readrepair_object_limit
nickelization Mar 4, 2016
4402a7b
First EQC test for secondary indexing
engelsanchez Jul 31, 2015
55709db
Clean up and improve
engelsanchez Aug 11, 2015
477d0e7
Fleshed out but disabled http client support
engelsanchez Aug 12, 2015
7ead9e0
Prevent large negative integers as values
Feb 24, 2016
aa757b4
Always ensure leveldb is the backend for 2i
Feb 24, 2016
e5628c2
Merge pull request #1012 from basho/nem/forward-merge-2i-eqc
nickelization Mar 10, 2016
c899b18
Merge pull request #1021 from basho/bch-merge-master-to-develop
Mar 23, 2016
f0d649e
Merge pull request #1022 from basho/bch-merge-develop-to-2.2
Mar 23, 2016
69effd5
Merge remote-tracking branch 'origin/riak/2.0' into bch-merge-2.0-to-…
Apr 28, 2016
1cc0514
Fix merge issues with overload.erl - re-instate w1c tests.
Apr 29, 2016
86863a2
Merge pull request #1061 from basho/bch-merge-2.0-to-develop-2.2
JeetKunDoug Apr 29, 2016
8abe51a
Merge remote-tracking branch 'origin/riak/2.0' into bch-merge-2.0-ont…
May 3, 2016
05d1b86
Merge pull request #1067 from basho/bch-merge-2.0-onto-develop-2.2
JeetKunDoug May 3, 2016
ba67c99
Merge branch 'riak/2.0' into merge-2.0-into-develop-2.2
fadushin Jul 7, 2016
530a132
Updated dependencies to be consistent with riak/riak_ee develop-2.2
fadushin Jul 7, 2016
4371832
Merge pull request #1101 from basho/merge-2.0-into-develop-2.2
fadushin Jul 7, 2016
c8cf713
dependency cleanup
fadushin Jul 8, 2016
358a550
Merge pull request #1103 from basho/develop-2.2-dependency-cleanup
Jul 8, 2016
4ec9995
Update verify_aae test to verify throttle config
jvoegele Jul 26, 2016
0c9fef2
- new test for HLL(set) datatypes
zeeshanlakhani Apr 29, 2016
c865e20
Merge pull request #1111 from basho/feature-jv-aae_throttle
jvoegele Aug 3, 2016
29efef0
Upload debug logs to Giddyup
jvoegele Aug 11, 2016
cfccfdd
Use documented function to delete existing debug log file
jvoegele Aug 16, 2016
30b0c01
Update client libraries to use develop-2.2
nickelization Aug 17, 2016
d34c10a
Merge pull request #1130 from basho/nem-update-client-branches
nickelization Aug 17, 2016
a0ad732
Update dependency versions in prep for merge
nickelization Aug 19, 2016
cfc61ca
Merge pull request #1104 from basho/feature-zl-hll_datatypes
nickelization Aug 19, 2016
47794a4
Merge pull request #1122 from basho/feature-jv-giddyup_post_debug_logs
nickelization Aug 19, 2016
17301e8
Fixed yz_extractors test.
fadushin Aug 29, 2016
70ce356
Add back call to stop nodes before deleting index directories.
Aug 29, 2016
de73a49
Merge pull request #1134 from basho/dr-fix-remove_index_dirs
jvoegele Aug 29, 2016
61c1ea8
Wait for CRDT search results, rather than failing after the first att…
Aug 30, 2016
facf2c7
Merge pull request #1135 from basho/dr-wait-for-crdt-results
fadushin Aug 30, 2016
baf7653
Update pipe_verify_handoff_blocking to provoke vnode_down errors.
Jun 15, 2016
486ea75
WIP
Jun 17, 2016
54a5e05
WIP getting this test to fail again in the right way
Aug 31, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ contents of `$HOME/rt/riak` might look something like this:

```
$ ls $HOME/rt/riak
current riak-1.2.1 riak-1.3.2 riak-1.4.10
current riak-1.4.12 riak-2.0.2 riak-2.0.4 riak-2.0.6
```

Inside each of these directories is a `dev` folder, typically
Expand Down Expand Up @@ -73,7 +73,7 @@ The first one that we want to look at is `rtdev-build-releases.sh`. If
left unchanged, this script is going to do the following:

1. Download the source for the past three major Riak versions (e.g.
1.3.2, 1.4.10 and 2.0.0)
1.4.12, 2.0.6 and 2.1.2)
1. Build the proper version of Erlang that release was built with,
using kerl (which it will also download)
1. Build those releases of Riak.
Expand Down Expand Up @@ -113,14 +113,6 @@ same directory that you just built all of your releases into.
By default this script initializes the repository into `$HOME/rt/riak` but
you can override [`$RT_DEST_DIR`](https://github.com/basho/riak_test/blob/master/bin/rtdev-setup-releases.sh#L11).

**Note**: There is a bug in 1.3.x `leveldb` which does not properly resolve
the location of `pthread.h` when building on Macintosh OS X 10.9, aka
Mavericks. This has been fixed in subsequent releases, but for now a fix
is to manually add `#include <pthread.h>` to the top of
`deps/eleveldb/c_src/leveldb/include/leveldb/env.h`. Also the version
of `meck` needs to be updated, too. This is handled autmatically by
the script.

### rtdev-current.sh

`rtdev-current.sh` is where it gets interesting. You need to run that
Expand Down Expand Up @@ -188,8 +180,10 @@ to tell riak_test about them. The method of choice is to create a
{rt_project, "riak"},
{rtdev_path, [{root, "/home/you/rt/riak"},
{current, "/home/you/rt/riak/current"},
{previous, "/home/you/rt/riak/riak-1.4.10"},
{legacy, "/home/you/rt/riak/riak-1.3.2"}
{previous, "/home/you/rt/riak/riak-2.0.6"},
{legacy, "/home/you/rt/riak/riak-1.4.12"},
{'2.0.2', "/home/you/rt/riak/riak-2.0.2"},
{'2.0.4', "/home/you/rt/riak/riak-2.0.4"}
]}
]}.
```
Expand Down Expand Up @@ -234,7 +228,9 @@ Tests that do not include coverage annotations will, if cover is enabled, honor
#### Web hooks
When reporting is enabled, each test result is posted to [Giddy Up](http://giddyup.basho.com). You can specify
any number of webhooks that will also receive a POST request with JSON formatted test information, plus the URL
of the Giddy Up resource page.
of the Giddy Up resource page.

N.B.: This configuration setting is optional, and *NOT* required any more for GiddyUp.

```erlang
{webhooks, [
Expand Down
2 changes: 1 addition & 1 deletion bin/rtdev-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ORIGDIR=`pwd`
pushd `dirname $0` > /dev/null
SCRIPT_DIR=`pwd`
popd > /dev/null
: ${CURRENT_OTP:=$HOME/erlang-R16B02}
: ${CURRENT_OTP:="$HOME/erlang-R16B02"}
: ${RT_CURRENT_TAG:=""}


Expand Down
159 changes: 88 additions & 71 deletions bin/rtdev-build-releases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,19 @@
: ${R15B01:=$HOME/erlang-R15B01}
: ${R16B02:=$HOME/erlang-R16B02}

# These are the default tags to use when building basho OTP releases.
# Export different tags to get a different build. N.B. You will need to
# remove the builds from kerl (e.g., kerl delete build $BUILDNAME) and
# possibly remove the directories above.
: ${R16_TAG:="OTP_R16B02_basho9"}
: ${R15_TAG:="basho_OTP_R15B01p"}

# By default the Open Source version of Riak will be used, but for internal
# testing you can override this variable to use `riak_ee` instead
: ${RT_USE_EE:=""}
GITURL_RIAK="git://github.com/basho/riak"
GITURL_RIAK_EE="[email protected]:basho/riak_ee"
GITDIR="riak-src"


checkbuild()
Expand All @@ -44,7 +52,7 @@ checkbuild()
echo "You need 'curl' to be able to run this script, exiting"
exit 1
fi
curl -O https://raw.github.com/spawngrid/kerl/master/kerl > /dev/null 2>&1; chmod a+x kerl
curl -O https://raw.githubusercontent.com/spawngrid/kerl/master/kerl > /dev/null 2>&1; chmod a+x kerl
fi
fi
fi
Expand All @@ -55,16 +63,40 @@ kerl()
RELEASE=$1
BUILDNAME=$2

export CFLAGS="-g -O2"
export LDFLAGS="-g"
if [ -n "`uname -r | grep el6`" ]; then
export CFLAGS="-g -DOPENSSL_NO_EC=1"
fi
BUILDFLAGS="--disable-hipe --enable-smp-support --without-odbc"
if [ $(uname -s) = "Darwin" ]; then
export CFLAGS="-g -O0"
BUILDFLAGS="$BUILDFLAGS --enable-darwin-64bit --with-dynamic-trace=dtrace"
else
BUILDFLAGS="$BUILDFLAGS --enable-m64-build"
fi

KERL_ENV="KERL_CONFIGURE_OPTIONS=${BUILDFLAGS}"
MAKE="make -j10"

echo " - Building Erlang $RELEASE (this could take a while)"
./kerl build $RELEASE $BUILDNAME > /dev/null 2>&1
# Use the Basho-patched version of Erlang
if [ "$RELEASE" == "R15B01" ]; then
BUILD_CMD="./kerl build git git://github.com/basho/otp.git $R15_TAG $BUILDNAME"
elif [ "$RELEASE" == "R16B02" ]; then
BUILD_CMD="./kerl build git git://github.com/basho/otp.git $R16_TAG $BUILDNAME"
else
BUILD_CMD="./kerl build $RELEASE $BUILDNAME"
fi
env "$KERL_ENV" "MAKE=$MAKE" $BUILD_CMD
RES=$?
if [ "$RES" -ne 0 ]; then
echo "[ERROR] Kerl build $BUILDNAME failed"
exit 1
fi

echo " - Installing $RELEASE into $HOME/$BUILDNAME"
./kerl install $BUILDNAME $HOME/$BUILDNAME > /dev/null 2>&1
./kerl install $BUILDNAME "$HOME/$BUILDNAME" > /dev/null 2>&1
RES=$?
if [ "$RES" -ne 0 ]; then
echo "[ERROR] Kerl install $BUILDNAME failed"
Expand All @@ -77,6 +109,12 @@ build()
SRCDIR=$1
ERLROOT=$2
TAG="$3"
if [ -z $4 ]; then
LOCKED_DEPS=true
else
LOCKED_DEPS=$4
fi

if [ -z "$RT_USE_EE" ]; then
GITURL=$GITURL_RIAK
GITTAG=riak-$TAG
Expand All @@ -85,6 +123,15 @@ build()
GITTAG=riak_ee-$TAG
fi

echo "Getting sources from github"
if [ ! -d $GITDIR ]; then
git clone $GITURL $GITDIR
else
cd $GITDIR
git pull origin develop
cd ..
fi

echo "Building $SRCDIR:"

checkbuild $ERLROOT
Expand All @@ -94,83 +141,53 @@ build()
kerl $RELEASE $BUILDNAME
fi

GITRES=1
echo " - Cloning $GITURL"
rm -rf $SRCDIR
git clone $GITURL $SRCDIR
GITRES=$?
if [ $GITRES -eq 0 -a -n "$TAG" ]; then
cd $SRCDIR
git checkout $GITTAG
if [ ! -d $SRCDIR ]
then
GITRES=1
echo " - Cloning $GITURL"
git clone $GITDIR $SRCDIR
GITRES=$?
cd ..
if [ $GITRES -eq 0 -a -n "$TAG" ]; then
cd $SRCDIR
git checkout $GITTAG
GITRES=$?
cd ..
fi
fi

RUN="env PATH=$ERLROOT/bin:$ERLROOT/lib/erlang/bin:$PATH \
if [ ! -f "$SRCDIR/built" ]
then

RUN="env PATH=$ERLROOT/bin:$ERLROOT/lib/erlang/bin:$PATH \
C_INCLUDE_PATH=$ERLROOT/usr/include \
LD_LIBRARY_PATH=$ERLROOT/usr/lib"
fix_riak_1_3 $SRCDIR $TAG "$RUN"

echo " - Building stagedevrel in $SRCDIR (this could take a while)"
cd $SRCDIR

$RUN make all stagedevrel
RES=$?
if [ "$RES" -ne 0 ]; then
echo "[ERROR] make stagedevrel failed"
exit 1
fi
cd ..
echo " - $SRCDIR built."
}
echo " - Building devrel in $SRCDIR (this could take a while)"
cd $SRCDIR

# Riak 1.3 has a few artifacts which need to be updated in order to build
# properly
fix_riak_1_3()
{
SRCDIR=$1
TAG="$2"
RUN="$3"
if $LOCKED_DEPS
then
CMD="make locked-deps devrel"
else
CMD="make all devrel"
fi

if [ "`echo $TAG | cut -d . -f1-2`" != "1.3" ]; then
return 0
$RUN $CMD
RES=$?
if [ "$RES" -ne 0 ]; then
echo "[ERROR] make devrel failed"
exit 1
fi
touch built
cd ..
echo " - $SRCDIR built."
else
echo " - already built"
fi

echo "- Patching Riak 1.3.x"
cd $SRCDIR
cat <<EOF | patch
--- rebar.config
+++ rebar.config
@@ -12,6 +12,7 @@
{deps, [
{lager_syslog, "1.2.2", {git, "git://github.com/basho/lager_syslog", {tag, "1.2.2"}}},
{cluster_info, "1.2.3", {git, "git://github.com/basho/cluster_info", {tag, "1.2.3"}}},
+ {meck, "0.7.2", {git, "git://github.com/eproxus/meck", {tag, "0.7.2"}}},
{riak_kv, "1.3.2", {git, "git://github.com/basho/riak_kv", {tag, "1.3.2"}}},
{riak_search, "1.3.0", {git, "git://github.com/basho/riak_search",
{tag, "1.3.2"}}},
EOF
$RUN make deps
cd deps/eleveldb/c_src/leveldb/include/leveldb
cat <<EOF | patch
--- env.h
+++ env.h
@@ -17,6 +17,7 @@
#include <string>
#include <vector>
#include <stdint.h>
+#include <pthread.h>
#include "leveldb/perf_count.h"
#include "leveldb/status.h"
EOF
cd ../../../../../../..
}

build "riak-1.4.10" $R15B01 http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.10/riak-1.4.10.tar.gz
echo
if [ -z "$RT_USE_EE" ]; then
build "riak-1.3.2" $R15B01 1.3.2
else
build "riak-1.3.4" $R15B01 1.3.4
fi
build "riak-1.4.12" $R15B01 1.4.12 false
build "riak-2.0.2" $R16B02 2.0.2
build "riak-2.0.4" $R16B02 2.0.4
build "riak-2.0.6" $R16B02 2.0.6
echo
2 changes: 2 additions & 0 deletions bin/rtdev-setup-releases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ then
echo " - Initializing $RT_DEST_DIR/$vsn"
mkdir -p "$RT_DEST_DIR/$vsn"
cp -p -P -R "$rel" "$RT_DEST_DIR/$vsn"
# Route out the product and version from Git
(cd "$rel"; VERSION="$(git describe --tags)"; echo -n $VERSION > $RT_DEST_DIR/$vsn/VERSION)
done
else
# This is useful when only testing with 'current'
Expand Down
20 changes: 20 additions & 0 deletions intercepts/hashtree_intercepts.erl
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
%% -------------------------------------------------------------------
%%
%% Copyright (c) 2015 Basho Technologies, Inc.
%%
%% This file is provided 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.
%%
%%-------------------------------------------------------------------

-module(hashtree_intercepts).
-compile(export_all).
-include("intercept.hrl").
Expand Down
20 changes: 20 additions & 0 deletions intercepts/init_intercepts.erl
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
%% -------------------------------------------------------------------
%%
%% Copyright (c) 2015 Basho Technologies, Inc.
%%
%% This file is provided 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.
%%
%%-------------------------------------------------------------------

-module(init_intercepts).
-compile(export_all).
-include("intercept.hrl").
Expand Down
Loading