ipfs-cluster/sharness
Hector Sanjuan 063c5f1b78 Service: Select consensus on "init" (not on "daemon")
Fixes #865.

This makes the necessary changes so that consensu is selected on "init" with a
flag set, by default, to "crdt". This generates only a "crdt" or a "raft"
section, not both.

If the configuration file has a "raft" section, "raft" will be used to start
the daemon. If it has a "crdt" section, "crdt" will be used. If it has none or
both sections, an error will happen.

This also affects "state *" commands, which will now autoselect how to work
from the existing configuration.
2019-08-09 19:20:53 +02:00
..
config There should be identity.json sharness/config 2019-05-16 09:39:56 +05:30
lib Service: Select consensus on "init" (not on "daemon") 2019-08-09 19:20:53 +02:00
test_data Consensus: add new "crdt" consensus component 2019-04-17 19:14:26 +02:00
run-sharness-tests.sh Service: Select consensus on "init" (not on "daemon") 2019-08-09 19:20:53 +02:00
t0010-ctl-basic-commands.sh ipfs-cluster-service state upgrade cli command 2017-11-28 22:35:48 -05:00
t0020-service-basic-commands.sh Sharness hardening: 2018-01-09 14:17:21 -05:00
t0021-service-init.sh Service: Select consensus on "init" (not on "daemon") 2019-08-09 19:20:53 +02:00
t0025-ctl-status-report-commands.sh Added tests for /monitor/metrics/{metrics_type} 2018-12-21 08:24:40 +05:30
t0030-ctl-pin.sh Fix docker-compose testing 2019-03-03 23:03:35 +00:00
t0031-ctl-add.sh Disable some sharness tests adding with cid-version=1 2019-05-17 13:58:26 +02:00
t0032-ctl-health.sh sharness: test should check agains cluster peer ID 2019-01-14 13:01:18 +01:00
t0040-ssl-simple-exchange.sh Sharness hardening: 2018-01-09 14:17:21 -05:00
t0041-ssl-enforcement.sh Sharness hardening: 2018-01-09 14:17:21 -05:00
t0042-basic-auth.sh Sharness hardening: 2018-01-09 14:17:21 -05:00
t0043-ssl-basic-auth.sh Sharness hardening: 2018-01-09 14:17:21 -05:00
t0052-service-state-export.sh Service: Select consensus on "init" (not on "daemon") 2019-08-09 19:20:53 +02:00
t0053-service-state-import.sh Service: Select consensus on "init" (not on "daemon") 2019-08-09 19:20:53 +02:00
t0054-service-state-clean.sh Service: Select consensus on "init" (not on "daemon") 2019-08-09 19:20:53 +02:00