Commit Graph

1554 Commits

Author SHA1 Message Date
Evan Vigil-McClanahan
1180eccdfc new strat working, needs testing on bigger cluster 2014-04-15 20:33:06 -04:00
evan
ecd9173ec1 wippiest of wips.
compiles and mostly should be done, but needs sanity checking and some
adjustment to how it's collecting stats, as dstat is junk and it'd be
better I guess to get the stats directly?
2014-04-08 17:26:37 -07:00
evan
9c5df565f5 merge complete, compiles, but pre-refactor 2014-04-01 11:05:09 -07:00
evan
c86e153a34 add updated drop-caches stuff, pull in test changes prior to rebase +
refactor
2014-03-31 16:24:53 -07:00
Joseph Blomstedt
1b7a65d1fc Merge pull request #544 from basho/feature/rtssh
Add rtcloud support; rtssh harness.
2014-03-31 14:54:05 -07:00
Joseph Blomstedt
5087b8ef2b Delete two spurious comment lines from rt.erl 2014-03-31 14:43:10 -07:00
Russell Brown
a7b698725e Merge pull request #556 from basho/bug/rdb/counter-repl-mult
Set allow_mult to default to true for clusters in test
2014-03-28 07:24:45 +00:00
Kelly McLaughlin
d09f21addb Merge branch 'bugfix/repl-util-race-fixes' 2014-03-27 16:18:58 -06:00
Kelly McLaughlin
b106abb87f Address some replication test failures due to cluster race conditions
Change some of the helper functions in the repl_util module to handle
errors more sensibly so that cluster setup race conditions do not
cause unnecessary test failures.
2014-03-27 14:07:05 -06:00
Russell Brown
6d4b2ace5f Set allow_mult to default to true for clusters in test 2014-03-26 17:26:20 +00:00
Russell Brown
d4dea835ce Merge pull request #552 from basho/feature/rdb/ctx-ops
Context operations for datatypes
2014-03-24 20:31:08 +00:00
Russell Brown
6fe9940c02 Use built in rt code for bucket type creation 2014-03-24 14:10:37 +00:00
Andrew Thompson
4591f36b8f Merge pull request #554 from basho/adt-upload-coverage
Collect per-test coverage for both riak_test and eunit tests for giddyup
2014-03-21 17:25:13 -04:00
Andrew Thompson
54ca285306 Silence is golden 2014-03-21 17:34:53 -04:00
Andrew Thompson
44e0a6f7ff Address review concerns
* Change group leader for cover_server while generating reports, so the
  'includes data from imported files' message can be suppressed.
* Append a phash of the test metadata to the coverdata filename to keep
  them unique.
* Removed unused maybe_stop function.
2014-03-21 13:11:06 -04:00
Andrew Thompson
dfac1cfd5e Collect per-test coverage for both riak_test and eunit tests for giddyup
To enable us to be able to see the *combined* coverage of our unit and
integration tests, modify riak_test and the smoke_test runner to capture
coverage data per-test and post it as a giddyup artifact.

To maintain the current riak_test behaviour where the *combined*
coverage is reported on at the end of a run, each test writes its own
.coverdata file, cover is reset and then once all tests are run, the
coverdata files are all loaded and the total coverage is reported.
2014-03-20 17:37:58 -04:00
Ryan Zezeski
2f7233884c Merge pull request #553 from basho/rz/check-git-exit-code
Check git exit code and fix pipe cleanup
2014-03-20 11:48:09 -04:00
rzezeski
ae475d3911 Check git exit code and fix pipe cleanup
Recently Scott was running into an issue running `verify_handoff`
where his old data was not being properly reset when running
`setup_harness`. I noticed we were using `os:cmd` which doesn't check
the exit code of the command. I modified `run_git` to use `cmd` as
well as verify the exit code is 0. This allowed Scott to catch the
real issue which turned out to be a bad path in his config.

While making this modification I noticed a bug in the pipe cleanup
code. The `file:del_dir` call is actually returning `{error, eexist}`
because there is a `bin` directory under each pipe dir which had not
yet been deleted. Rather than spend time writing a recursive delete in
Erlang I changed the code to use `cmd` and to confirm an exit of 0.

I modified `stop_all`, which is used by `setup_harness`, to also use
`cmd` and check exit codes.

Finally I make sure that `spawn_cmd` flattens the list before passing
it along as `open_port` wants a string not an iolist.
2014-03-20 15:33:08 +00:00
Russell Brown
8c5ca5a3a4 Add test for context operations on riak datatypes 2014-03-19 15:57:20 +00:00
Russell Brown
77d20d7cd0 Revert "no context" work around for broken riak_dt 2014-03-19 11:30:38 +00:00
Russell Brown
cbb2507067 Merge pull request #550 from basho/rdb/workaround-broken-ctx
Changes to fix a broken CRDT map (see riak_dt#82) break this test
2014-03-14 19:24:16 +00:00
Russell Brown
2ec86af321 Changes to fix a broken CRDT map (see riak_dt#82) break this test
Well, that's not true. They break riak_kv's context operations on Maps.
This change works around that breakage by turning the context off for
the operations in this test. It is a temporary thing, when the context fix
work has been done, we'll be changing back.
2014-03-14 18:05:49 +00:00
Christopher Meiklejohn
5de495debd Fix differential typo. 2014-03-08 17:46:55 -08:00
John Daily
5cadbc014a Merge pull request #548 from basho/jrd-print-grants
Update tests to match new security functionality
2014-03-07 12:16:16 -05:00
John R. Daily
804e28fbe2 Update tests to reflect new commands, plus the fact that riak_core_console is being called twice from one riak-admin command in some cases 2014-03-06 19:10:27 -05:00
Micah
fa89febd01 Merge pull request #546 from basho/feature/mw/fscoordinator-stat-cache
Added test to ensure fssource's don't block repl status.
2014-03-05 12:43:04 -06:00
lordnull
bf9525fbf6 Added test to ensure fssource's don't block repl status. 2014-03-04 15:28:34 -06:00
Christopher Meiklejohn
e57df6270d Ensure we load the intercept module remotely. 2014-03-04 13:21:22 -08:00
Christopher Meiklejohn
e0951a9609 Add benchmarking with latency support. 2014-02-28 13:04:21 -08:00
Kelly McLaughlin
46d2b2b7ef Merge branch 'feature/cascading-rtq-test' 2014-02-28 09:05:54 -07:00
Kelly McLaughlin
bfb35d59cd Rename rt_cascading_rtq -> repl_rt_cascading_rtq 2014-02-26 12:16:28 -07:00
Kelly McLaughlin
711d687c91 Add test for realtime queue data buildup on sink clusters 2014-02-26 11:50:00 -07:00
Christopher Meiklejohn
b7f303bf5b Remove assertions based on performance. 2014-02-26 13:43:54 -05:00
Christopher Meiklejohn
89d5ad9e35 Ignore riak installations. 2014-02-26 13:43:46 -05:00
Christopher Meiklejohn
ccc31dd9f7 Remove observer. 2014-02-25 10:41:35 -05:00
Christopher Meiklejohn
00a67b022e Add missing clean_data_dir function 2014-02-24 19:13:00 +00:00
Christopher Meiklejohn
e2b412f455 Ensure we update version and node maps.
In the event we deploy more than one cluster, make sure we
merge the values in, rather than replace.
2014-02-24 18:46:23 +00:00
Christopher Meiklejohn
c08ce430f3 Use normalized API. 2014-02-24 11:56:54 -05:00
Christopher Meiklejohn
4757c349d5 Add compatible API with rtssh for deploying clusters. 2014-02-24 11:56:32 -05:00
Christopher Meiklejohn
1a3367bcb5 Assert AAE fullsync replication is faster. 2014-02-24 10:27:09 -05:00
Christopher Meiklejohn
a6c983229e Ignore tags file. 2014-02-24 10:26:55 -05:00
Engel A. Sanchez
785794cd6c Merge pull request #519 from basho/bugfix/bring-back-rt-wait-until-aae-trees-built
Bring test back to 1.4.7 glory
2014-02-20 19:48:48 -05:00
John Daily
9143f184c9 Merge pull request #538 from basho/jrd-security-role-bifurcation
Treat users and groups as distinct concepts
2014-02-20 15:34:16 -05:00
Andrew Thompson
af1691530e Enable siblings for pb_security test 2014-02-20 15:24:14 -05:00
Christopher Meiklejohn
106401bad5 Run both keylist and aae.
Run, test, and time both the aae and keylist strategy of fullsync
replication.
2014-02-20 15:21:13 -05:00
Christopher Meiklejohn
377fe57ae9 Add functions for advanced.config manipulation.
Add functions to assist in manipulation of the advanced.config file
directly, which is required for repl which can not be configured with
Cuttlefish, when enabled.
2014-02-20 14:59:07 -05:00
Christopher Meiklejohn
92880a35ca Limit concurrency; disable allow_mult.
Limit the concurrency to one partition at a time, and ensure we do not
generate siblings when rewriting the smaller portion of the keyspace.
2014-02-20 14:58:22 -05:00
Kelly McLaughlin
0d91dbd464 Merge branch 'feature/consistent-object-repl-filter-test' 2014-02-20 11:43:44 -07:00
Kelly McLaughlin
11e5736840 Merge branch 'bugfix/repl_rt_heartbeat_seconds_timeout' 2014-02-20 11:39:23 -07:00
Kelly McLaughlin
6e51337839 Merge branch 'refactor/repl_bucket_types' 2014-02-20 11:38:24 -07:00