-
- Downloads
Rewrite the tests to be able to run between multiple computers over network,...
Rewrite the tests to be able to run between multiple computers over network, using ssh (!16) # Description Until now the tests have been run locally on the same computer, by putting each node on a different port on localhost. This MR rewrites the tests to be able to run them over multiple computers. ## List of changes - Rewrite build network to send the binary and powers over ssh using rsync to other computers of the network that need it - Rewrite all the tests to be able to check results over ssh (since sometimes checking a test requires comparing the original and reconstructed file, and they are not always on the same computer)
parent
16f44d80
No related branches found
No related tags found
Showing
- .gitlab-ci.yml 1 addition, 1 deletion.gitlab-ci.yml
- Makefile 8 additions, 2 deletionsMakefile
- cli/app.nu 22 additions, 4 deletionscli/app.nu
- cli/network_builder.nu 20 additions, 13 deletionscli/network_builder.nu
- cli/swarm.nu 82 additions, 12 deletionscli/swarm.nu
- help_func/execute_all_tests.nu 38 additions, 0 deletionshelp_func/execute_all_tests.nu
- help_func/exit_func.nu 0 additions, 0 deletionshelp_func/exit_func.nu
- help_func/get_remote.nu 8 additions, 0 deletionshelp_func/get_remote.nu
- src/commands.rs 54 additions, 10 deletionssrc/commands.rs
- src/dragoon_network.rs 210 additions, 65 deletionssrc/dragoon_network.rs
- src/main.rs 44 additions, 18 deletionssrc/main.rs
- src/to_serialize.rs 13 additions, 0 deletionssrc/to_serialize.rs
- ssh_addr.txt 3 additions, 0 deletionsssh_addr.txt
- tests/get_file_2_peers.nu 69 additions, 39 deletionstests/get_file_2_peers.nu
- tests/get_file_4_peers_min_blocks.nu 103 additions, 87 deletionstests/get_file_4_peers_min_blocks.nu
- tests/help_func/execute_all_tests.nu 0 additions, 27 deletionstests/help_func/execute_all_tests.nu
- tests/message_exchange_block_per_block.nu 94 additions, 76 deletionstests/message_exchange_block_per_block.nu
- tests/send_block_list_2_peers.nu 79 additions, 55 deletionstests/send_block_list_2_peers.nu
- tests/send_block_list_5_peers.nu 93 additions, 68 deletionstests/send_block_list_5_peers.nu
- tests/send_block_list_first_loop_fail.nu 42 additions, 38 deletionstests/send_block_list_first_loop_fail.nu
Loading
Please register or sign in to comment