Skip to content

Goal: add --start option for network create command#4902

Merged
algorandskiy merged 2 commits into
algorand:masterfrom
mciccarello:feature/automatic_network_start
Jan 30, 2023
Merged

Goal: add --start option for network create command#4902
algorandskiy merged 2 commits into
algorand:masterfrom
mciccarello:feature/automatic_network_start

Conversation

@mciccarello
Copy link
Copy Markdown
Contributor

Summary

Added --start flag to "goal network create" that will cause the network to be run after creation.

Test Plan

Manually run.

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 13, 2022

Codecov Report

Merging #4902 (2859a93) into master (8327fc7) will increase coverage by 0.01%.
The diff coverage is 14.28%.

@@            Coverage Diff             @@
##           master    #4902      +/-   ##
==========================================
+ Coverage   53.52%   53.54%   +0.01%     
==========================================
  Files         422      422              
  Lines       53852    53859       +7     
==========================================
+ Hits        28826    28840      +14     
+ Misses      22704    22699       -5     
+ Partials     2322     2320       -2     
Impacted Files Coverage Δ
cmd/goal/network.go 16.49% <14.28%> (-0.18%) ⬇️
ledger/acctupdates.go 69.34% <0.00%> (-0.25%) ⬇️
network/wsPeer.go 69.68% <0.00%> (+0.23%) ⬆️
catchup/peerSelector.go 100.00% <0.00%> (+1.04%) ⬆️
crypto/merkletrie/node.go 93.48% <0.00%> (+1.86%) ⬆️
crypto/merkletrie/trie.go 68.61% <0.00%> (+2.18%) ⬆️
ledger/blockqueue.go 88.50% <0.00%> (+2.87%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mciccarello
Copy link
Copy Markdown
Contributor Author

@winder could use a review

winder
winder previously approved these changes Jan 11, 2023
Comment thread cmd/goal/network.go Outdated
reportInfof(infoNetworkCreated, network.Name(), networkRootDir)

if startOnCreation {
fmt.Printf("startOnCreation true\n")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove the debug output

@mciccarello mciccarello dismissed stale reviews from AlgoStephenAkiki and winder via 2859a93 January 30, 2023 08:06
@winder winder requested a review from algorandskiy January 30, 2023 18:34
@algorandskiy algorandskiy merged commit f7e96d2 into algorand:master Jan 30, 2023
@algorandskiy algorandskiy changed the title Goal: --start option for network create command Goal: add --start option for network create command Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants