Commit Graph

5 Commits

Author SHA1 Message Date
Engel A. Sanchez
4fc876b524 Fix another rt_config refactor victim 2013-06-17 08:54:10 -04:00
Joe DeVivo
08ac3fdbed refactored config and local into separate modules 2013-04-26 08:24:58 -07:00
Engel A. Sanchez
0e8ecce7d5 Add riak_test behavior 2012-12-14 10:50:49 -05:00
Engel A. Sanchez
643d063b0a Better rt/rtdev separation in backup/restore
Operations that assume a local node are moved to rtdev, and those that
do not stay in rt.
Also, using PB client instead of internal where possible.
2012-12-10 11:46:41 -05:00
Engel A. Sanchez
2baf7a0761 Add backup restore test
This is a port of systest-backup-and-restore from basho_expect with some
changes and additions. Biggest change was not using search-cmd to index
data for search, as it does not seem to update docs, just indexes. Then
added restore on a clean cluster. Basically it does this:

* Writes data, including a search enabled bucket
* Verifies written data, including searches
* Runs backup
* Deletes, modifies some data
* Verifies mods and deletes took
* Runs restore
* Verifies deleted data is back, mods stay (last write wins)
* Stops cluster and wipes out all data dirs
* Verifies clean cluster
* Runs restore
* Verifies data was restored, including searches

Also, adding some more noise to some riak test setup functions. This was
useful when initially debugging the test before it worked the first
time.
2012-12-10 09:02:06 -05:00