Testnet experiments: test for generating the baker partitions
Context
This script generates a list of files defining the associations between pods/nodes and bakers in testnet experiments. The list of baker aliases can be also retrieved from an output file via the following command:
cat $BAKER_PARTITION_FILENAME| jq ".[] | .alias" | tr -d '"' | tr '\n' ' '
which can then be used in conjunction with ./octez-baker-PtNairob to bake only for the bakers specified in $BAKER_PARTITION_FILENAME
Manually testing the MR
NODES=<nodes> OUTPUT_DIR=<output_dir> dune exec devtools/testnet_experiment_tools/testnet_experiment_tools.exe -- partition_bakers
Results are saved in <output_dir>.
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Gabriel Moise