Commit Graph

616 Commits

Author SHA1 Message Date
Dave Parfitt
b07c0935ba Merge branch 'dip_bnw_repl' of github.com:/basho/riak_test into dip_bnw_repl 2012-12-05 18:38:44 -05:00
Dave Parfitt
200cf113c7 fixed q migration test 2012-12-05 18:38:18 -05:00
Jared Morrow
97a9831b3c Merge pull request #116 from basho/jem-cmd-line-getpid
Add `riak getpid` test to basic_command_line
2012-12-05 11:56:32 -08:00
Andrew Thompson
77f7f2d428 Fix wait_for_no_connection for BNW 2012-12-05 14:26:09 -05:00
Joe DeVivo
1517c40553 Merge pull request #110 from basho/sdc-cleanup-pipes
Cleanup lingering pipes from previous runs.
2012-12-05 10:39:54 -08:00
Jared Morrow
d379b2258e Add riak getpid test to basic_command_line
This test functionality added to address PID issues found
on FreeBSD using riak_test.

The issue was addressed in basho/riak#251
2012-12-05 10:40:41 -07:00
Joe DeVivo
027a33f109 Merge pull request #48 from basho/jd-loaded-upgrades-day-of-reckoning
port be-systest-rolling-upgrade
2012-12-05 06:16:37 -08:00
Andrew Thompson
5084123b0f Avoid occasional failure 2012-12-04 17:07:37 -05:00
Andrew Thompson
7319d66ba0 Don't crash the test on write failures 2012-12-04 17:07:08 -05:00
Joe DeVivo
f7ed2c0e2e loaded_upgrade: changed rem 1000 to rem 20 to actually output messages 2012-12-04 14:55:02 -07:00
Joe DeVivo
81d6f89f6a Cleanup los processos 2012-12-04 14:47:32 -07:00
Joe DeVivo
95475cda0d Added list_keys to loaded_upgrade 2012-12-04 12:02:28 -07:00
Jared Morrow
47368d30f4 Remove unneeded comment from python test 2012-12-04 10:52:55 -07:00
Jared Morrow
c16b361af7 Merge pull request #115 from basho/jem-python-dir-cleanup
Cleanup from previous python test runs
2012-12-04 09:49:34 -08:00
Jared Morrow
f55c9aad56 Don't check for scratch directory anymore 2012-12-04 10:48:21 -07:00
Jared Morrow
725b8871ce Cleanup from previous python test runs 2012-12-04 09:54:35 -07:00
Joe DeVivo
6a62e77300 Merge pull request #114 from basho/jd-friendly-errors-for-non-console-viewing-a-joe-devivo-joint
Shifted error output into lager for great readability
2012-12-04 08:27:19 -08:00
Joe DeVivo
fce50f3993 stderr_to_stdout boyeeeee 2012-12-04 09:18:59 -07:00
engelsanchez
c8c5226aea Merge pull request #112 from basho/eas-fix-riak-core-155-meck-refactor
Fix after meck refactoring
2012-12-04 08:16:09 -08:00
Joe DeVivo
1dfd8c2115 Shifted error output into lager for great readability 2012-12-04 09:07:36 -07:00
Sean Cribbs
403f91413d Merge pull request #111 from basho/sdc-fix-repair
Fix partition_repair when run from the suite
2012-12-04 07:49:06 -08:00
Engel A. Sanchez
0d1fbec563 Minor style tweaks to meck refactor fix
From feedback on the original pull request.
2012-12-04 10:36:58 -05:00
Sean Cribbs
a2fce7eb2f Death to imports! 2012-12-04 09:24:30 -06:00
Engel A. Sanchez
009fa92bf1 Fix after meck refactoring
Plus, fixing a timing issue when restarting node.  Sometimes we issued
the gets while the old node was still going down.
2012-12-04 10:19:24 -05:00
Sean Cribbs
29d4b1d787 Fix 'undefined' bug in partition_repair when finding the data dir. 2012-12-04 09:18:19 -06:00
Sean Cribbs
11885dafde Fix import warnings. 2012-12-04 09:15:37 -06:00
Andrew Thompson
c923cac9fa Fix replication SSL test, broke because of expired certificates 2012-12-04 00:13:21 -05:00
Sean Cribbs
16e13afe67 Cleanup lingering pipes from previous runs.
While not technically harmful (Riak and to_erl do just fine), the
extra files in PIPE_DIR confuse the Ruby client tests, which expect
only one set of FIFOs to be present. Since we start the nodes from a
clean state, but PIPE_DIR lives outside the node roots, it seems
reasonable to clean them up before starting a test, at least until the
Ruby client can identify and ignore stale FIFOs.
2012-12-03 17:22:21 -06:00
Jared Morrow
41b47dc5d7 Merge pull request #109 from basho/jem-riaknostic-test-fix
Fix riaknostic test for Riak that includes riaknostic
2012-12-03 14:48:46 -08:00
Jared Morrow
1acaed71db Fix typo found in review 2012-12-03 15:31:57 -07:00
Andrew Thompson
5d38f1484f Wait for ring convergance after changing configs, cleanups 2012-12-03 17:26:42 -05:00
Jordan West
2de1d4984f Merge pull request #103 from basho/rt39-verify-busy-dist
Port regression_az1018.py
2012-12-03 13:49:17 -08:00
Jared Morrow
9c9749fb9a Fix riaknostic test for Riak that includes riaknostic
In Riak 1.3.0 riaknostic was included by default.  These
tests assumed riaknostic was *not* installed and would
fail on 1.3+ nodes.  This change fixes that and refactors
the test to be a little more readable.
2012-12-03 14:13:55 -07:00
Jordan West
5823714b57 Merge branch 'rt39-verify-bdp-improved' into rt39-verify-busy-dist 2012-12-03 11:34:11 -08:00
Joe DeVivo
81d8ddbea9 Merge pull request #106 from basho/jd-gh-core-155-tweaks
wait_for_owners_according_to
2012-12-03 08:04:50 -08:00
Joe DeVivo
d06b760cb3 wait_for_owners_according_to 2012-12-03 07:46:03 -07:00
Jordan West
b11db0d74e verify_busy_dist_port: remove use of grep via os:cmd, timer:sleep
* install a riak_sysmon custom handler and monitor for the busy_dist_port event on the riak node. when the handler detects the event it notifies the test process
* install riak_test_lager_backend on the riak node to capture log messages in memory. When the test process is notified that the busy dist port event fired on the riak node it retrieves the logs from the backend using the added get_logs/0 function and then checks for the busy_dist_port message
* there is a subtle race I *think*, that should rarely come up in practice, between lager and the riak_sysmon event handlers with this method of implementing the test that may require use of some form of retry/max retry still
2012-11-30 17:08:29 -08:00
Joe DeVivo
ca8b53576e Merge pull request #104 from basho/jd-stop-hammer-time
a few timing tweaks
2012-11-29 13:38:58 -08:00
Jordan West
cb2b49df92 riak_test takes care of this for us 2012-11-29 13:17:02 -08:00
Jordan West
1de1245774 apparently i like whitespace :( 2012-11-29 13:00:34 -08:00
Jordan West
34d2d53290 add text from original agile zen ticket to test 2012-11-29 12:59:36 -08:00
Joe DeVivo
eb3ef53302 added rpc:stops to rt:teardown/0 and wait_for_kv to some rt:kv releated functions 2012-11-29 13:07:39 -07:00
Jordan West
2c3ca7327f if we are going to sleep, at least do it (maybe) better
* check the grep logs a max number of times, sleep for some interval in-between each execution of grep
* actually delete the log file
* handle file d.n.e. when using grep (hackily)
2012-11-29 11:46:32 -08:00
Jordan West
e32f29a0d6 initial port of be-regression-az1018 2012-11-29 10:59:27 -08:00
Joe DeVivo
07084cf7af Merge pull request #102 from basho/jd-stop-hammer-time
rt:stop/1 now uses straight rpc.
2012-11-29 10:18:12 -08:00
Joe DeVivo
d32b29d161 rt:stop/1 now uses straight rpc. 2012-11-29 11:07:34 -07:00
Joe DeVivo
422db33e8a Merge pull request #101 from basho/jd-owners_according_to
added rt:assert_nodes_agree_about_ownership/1, and there was much rejoicing
2012-11-29 09:44:26 -08:00
Sean Cribbs
e4fa8ccc20 Add additional wait_for_service calls after restarting nodes. 2012-11-29 10:26:10 -05:00
Joe DeVivo
73dd9bf081 added rt:assert_nodes_agree_about_ownership/1, and there was much rejoicing 2012-11-29 07:12:44 -07:00
Joe DeVivo
56118e2e0e Merge pull request #44 from basho/jd-cluster-membership
port be-systest-cluster-membership
2012-11-28 14:58:38 -08:00