Test Control Api Plugin

Description

The test_control_api_plugin allows to send a control message to the test_control_plugin telling the plugin to shut down the aos instance when reaching a particular block. It is intended for testing.

Usage

# config.ini
plugin = arisen::test_control_api_plugin
# command-line
aos ... --plugin arisen::test_control_api_plugin

Options

None

curl %s/v1/test_control/kill_node_on_producer -d '{ \"producer\":\"%s\", \"where_in_sequence\":%d, \"based_on_lib\":\"%s\" }' -X POST -H \"Content-Type: application/json\"" %

Dependencies

  • test_control_plugin
  • chain_plugin
  • http_plugin

Load Dependency Examples

# config.ini
plugin = arisen::chain_plugin
[options]
plugin = arisen::http_plugin
[options]
# command-line
aos ... --plugin arisen::chain_plugin [operations] [options]  \
           --plugin arisen::http_plugin [options]