Commit Graph

689 Commits

Author SHA1 Message Date
andytill
6aeaa8619d Increase the threshold for received redbug messages, and print millisecond timestamps. 2016-12-16 10:01:57 +00:00
andytill
d337dfc24f Use rt_config instead of a new ets table for tracing configuration. 2016-12-15 10:12:43 +00:00
andytill
4e1da9248f Convert tabs to spaces. 2016-12-15 09:58:48 +00:00
andytill
38517cf2c7 More comments. 2016-12-14 16:59:41 +00:00
andytill
04e468d6b5 redbug tracing in rt tests, enable traces using --trace in the rt command line. 2016-12-14 16:46:40 +00:00
Brett Hazen
9e7862bc52 Add logging of configuration 2016-12-11 22:18:18 -07:00
Brett Hazen
c4964ddef3 Upload Common Test tar files as "binary/tgz-website" to GiddyUp 2016-12-03 15:22:24 -07:00
Brett Hazen
85b444c0c6 Merge pull request #1152 from basho/feature-az-query_buffers
new module to check query buffer operations
2016-11-11 11:36:22 -07:00
Brett Hazen
ebdeed8aeb Merge remote-tracking branch 'origin/develop-2.2' into riak_ts-develop 2016-11-10 19:44:33 -07:00
Doug Rohrer
8e6f489778 Add additional logging to sibling debug log in object_value.
Needed to help figure out why certain repl tests have failed on
occasion.
2016-11-10 20:52:33 -05:00
Korry Clark
6255a98d11 one more change 2016-11-09 14:25:38 -08:00
Korry Clark
8bc588b048 made the script more efficient 2016-11-09 10:15:33 -08:00
Korry Clark
5baa01a9a0 made it better 2016-11-07 13:55:21 -08:00
Korry Clark
0f95feade7 support passing in comma separated list of wildcards 2016-11-07 10:14:39 -08:00
Korry Clark
be0f135b7d added the command line ability to pass in tests as comma seperated values after -t 2016-11-04 14:22:31 -07:00
Andrei Zavada
b2afbd3f51 Merge branch 'riak_ts-develop' into feature-az-query_buffers 2016-11-04 04:48:04 +02:00
Andrei Zavada
4b61877fba rt_client: supply correct paths
generally, make the bloody thing work for the first time.
2016-11-01 03:43:26 +02:00
Andrei Zavada
f4fc7f1209 rt_client: correctly work with both stagedevrel and devrel 2016-10-29 17:58:20 +03:00
Brett Hazen
71d19d6598 Clean up some artifact reporting 2016-10-23 21:51:00 -06:00
Korry Clark
5f7326fcc1 missing comma, more conflict resolution 2016-10-18 19:16:40 -06:00
korry8911
10576cea8f Update riak_test_escript.erl 2016-10-18 15:12:03 -07:00
Korry Clark
3c1f7cbd40 merge 2016-10-18 13:52:01 -07:00
Brett Hazen
460501c188 Clean up get_node_debug_logs/0 by building a simple list 2016-09-27 08:56:00 -06:00
Brett Hazen
6491544a64 Skip missing debug log files instead of exiting riak_test 2016-09-24 19:19:46 -06:00
Brett Hazen
60e2be410e Merge pull request #1157 from basho/fd-verify_dt_data_upgrade-fix
Added wait_until_transfers_complete before partitioning cluster
2016-09-20 15:07:31 -06:00
Brett Hazen
bac6dcaa3c Read the entire debug log file before uploading to S3 2016-09-19 16:52:11 -06:00
Fred Dushin
54cfe5e26b Added wait_until_transfers_complete before partitioning cluster, and increased wait_until_transfers_complete verbosity 2016-09-19 15:56:16 -04:00
Nick Marino
f8003d6305 Revert "Always ensure nodes are ready before continuing"
This reverts commit 0d341f7210.
2016-09-19 10:47:31 -04:00
Nick Marino
97e080aceb Revert "Retry if we mysteriausly get nothing_planned"
This reverts commit 0e1dbc04bf.
2016-09-19 10:47:22 -04:00
Nick Marino
05fd551eab Revert "Remove redundant wait call"
This reverts commit 43a8978bab.
2016-09-19 10:47:10 -04:00
Nick Marino
43a8978bab Remove redundant wait call
This is no longer needed since we are guaranteed to call try_nodes_ready
at the end of every iteration of plan_and_commit.
2016-09-14 18:37:40 -04:00
Nick Marino
0e1dbc04bf Retry if we mysteriausly get nothing_planned
Not sure why we keep hitting this, but we shouldn't just assume the
plan was committed because testing has repeatedly shown otherwise.
2016-09-14 18:35:38 -04:00
Nick Marino
0d341f7210 Always ensure nodes are ready before continuing
The try_node_ready function would previously get called after the first
execution of plan_and_commit returned, and if it failed it would call
plan_and_commit again. However, once the second plan_and_commit call
finishes, try_node_ready would not get called again. This commit changes
this behavior so that try_node_ready is always called after
plan_and_commit succeeds.
2016-09-14 18:28:29 -04:00
Nick Marino
734f19666c Increase number of retries in try_nodes_ready
We seem to be timing out on this a lot, so waiting 1.5 seconds doesn't
seem like enough.
2016-09-14 16:00:03 -04:00
Nick Marino
70d98066c0 Add single-argument version of try_nodes_ready
This factors out the defaults timeouts into its own function, and will
simplify some other refactorings later on.
2016-09-14 15:58:25 -04:00
Nick Marino
8e5505d357 Throw an error if we try to use copy_conf in rtssh 2016-09-14 15:11:23 -04:00
Nick Marino
8f99422814 Call copy_conf via the rt module 2016-09-14 13:47:51 -04:00
Nick Marino
a75a3811b8 Add rtdev:copy_conf function
This new utility function copies config from one devrel to another. This
is particularly useful when the first thing a test does is downgrade to
a previous release which doesn't support some new config option that's
been recently added. By copying the old config into the new devrel
before we start up the nodes, we can automatically avoid specifying any
new, incompatible config keys for that particular test.
2016-09-14 10:47:53 -04:00
Fred Dushin
a604a3186a Merge pull request #1147 from basho/update-yz-tests/zl/add-deletes-to-crdt-yz-2.2
Update yz tests/zl/add deletes to crdt yz 2.2
2016-09-13 17:01:51 -04:00
Fred Dushin
396a6cf242 Modified rtdev:get_node_debug_logs to return filename and file handle
so that the debuglog archive can be uploaded.
2016-09-12 13:50:20 -04:00
Zeeshan Lakhani
ecae32da10 test deletions w/ yz_crdt + tombstones + delete_mode -> keep 2016-09-08 17:31:09 -04:00
Fred Dushin
ff7d0fa875 Added logging to diagnose failure on giddyup 2016-09-06 15:53:34 -04:00
Ted Burghart
18cc1c74bf Merge pull request #1126 from basho/develop-2.2-job-switches
RIAK-2583 Async Job Switches
2016-09-06 10:46:11 -04:00
Ted Burghart
733910690b Add random_uniform/0,1 operations that wrap random:uniform but are always seeded with good entropy.
Putting this in a separate commit for clarity, which ideally would be a separate PR altogether except that the associated branch uses them to avoid sucking up entropy with reseeding.
2016-09-02 15:08:58 -04:00
Fred Dushin
2d1cb270b9 Merge pull request #1120 from basho/fd-upgrade-downgrade-callbacks
Added support for specifying an upgrade callback function, which can …
2016-08-31 13:47:07 -04:00
Fred Dushin
45a36c18c3 Added support for specifying an upgrade callback function, which can be passed to the rt:upgrade function and which gets called after the from node is stopped and upgraded, and before the to node is started. This allows tests to perform any additional steps as part of the upgrade. The paths of the old and new data directories are passed elements of a prop list, which is passed into the callback as its sole argument. 2016-08-31 13:42:01 -04:00
Fred Dushin
facf2c71a0 Merge pull request #1135 from basho/dr-wait-for-crdt-results
Wait for CRDT search results, rather than failing after the first attempt.
2016-08-30 06:48:36 -04:00
Doug Rohrer
61c1ea801c Wait for CRDT search results, rather than failing after the first attempt. 2016-08-29 21:46:10 -04:00
Jason Voegele
de73a49666 Merge pull request #1134 from basho/dr-fix-remove_index_dirs
Add back call to stop nodes before deleting index directories.
2016-08-29 16:21:42 -04:00
Doug Rohrer
70ce356665 Add back call to stop nodes before deleting index directories.
Somehow managed to pass on 2.0.7, but shouldn't have (and doesn't in 2.2.0).
2016-08-29 19:55:21 +00:00