Commit Graph

10 Commits

Author SHA1 Message Date
Andrei Zavada
63f7edbeb9 ts_updown_util: rework to halt scenario if a stage fails 2016-11-06 06:20:25 +02:00
Andrei Zavada
e188bfa0fa ts_updown_util: use wait_until_capability before issuing queries
This is to ensure that on node transition, any capabilities change
take effect across all nodes.
2016-11-01 03:43:26 +02:00
Andrei Zavada
1b92af5bf3 ts_updown_util: report cluster composition before CREATE and before SELECT 2016-11-01 03:43:26 +02:00
Andrei Zavada
229f809192 ts_updown_util: hooks to modify riak.conf for curr/prev versions 2016-10-29 19:23:27 +03:00
Gordon Guthrie
c20e1f9cba Rejigged updown test suite that tests write and query across a full set of
upgrade/downgrades between a 1.3 and a 1.4 cluster
2016-08-03 14:46:46 +00:00
Gordon Guthrie
6c4a19bc75 First cut of upgrade/downgrade tests for GROUP BY
The way that we were naming tables was not that useful so there are
some small changes to how we generate table names
2016-07-29 13:24:30 +00:00
Gordon Guthrie
56873effc9 Refactoring of the updown/tests
At the moment a typical upgrade/downgrade test consists of:
* table creation
* data insertion
* a selection of data

This end-to-end actions are now called a test set

For a given configuration of a ring with capabilities a test set may have
to terminate after the table creation stage, or the data insertion one

The purpose of this refactoring is to:
* make it possible to have tests that implment as little or as much
  of a full test set as required
* make the test set exendable for other tests like deletion/list keys

In addition the upgrade/downgrade runner has been seperated out into a
part file.

The purpose of this is to make it explicit to the writer of a new test
exactly what they have to do to write a successful up/down test
2016-07-29 08:19:15 +00:00
Andrei Zavada
43e045ab6e ts_updown_agg: generate scenario-unique table names directly (not via ?LET) 2016-07-26 02:30:30 +03:00
Andrei Zavada
30ff1a89ac ts_updown_util: describe #scenario{} fields; more details in ct:log 2016-07-21 14:02:50 +03:00
Andrei Zavada
768651087c ts_updown_util:run_scenarios ready, with a static example 2016-07-21 14:02:50 +03:00