diff options
author | Elad <theman@elad.im> | 2019-01-30 16:46:44 +0800 |
---|---|---|
committer | Rafael Matias <rafael@skyle.net> | 2019-02-19 20:05:26 +0800 |
commit | 7038b5734c9068fb67851b9a21d771ae93aef1fd (patch) | |
tree | f4100ee51422a3ecca23e536833c8ba4bff51506 /cmd/swarm/swarm-smoke/main.go | |
parent | 1ecf2860cff6e4da75abbd1e6b30a9b1d69c5a12 (diff) | |
download | go-tangerine-7038b5734c9068fb67851b9a21d771ae93aef1fd.tar go-tangerine-7038b5734c9068fb67851b9a21d771ae93aef1fd.tar.gz go-tangerine-7038b5734c9068fb67851b9a21d771ae93aef1fd.tar.bz2 go-tangerine-7038b5734c9068fb67851b9a21d771ae93aef1fd.tar.lz go-tangerine-7038b5734c9068fb67851b9a21d771ae93aef1fd.tar.xz go-tangerine-7038b5734c9068fb67851b9a21d771ae93aef1fd.tar.zst go-tangerine-7038b5734c9068fb67851b9a21d771ae93aef1fd.zip |
cmd/swarm/swarm-smoke: sliding window test (#18967)
(cherry picked from commit b91bf08876ca4da0c2a843a9ed3e88d64427cfb8)
Diffstat (limited to 'cmd/swarm/swarm-smoke/main.go')
-rw-r--r-- | cmd/swarm/swarm-smoke/main.go | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/cmd/swarm/swarm-smoke/main.go b/cmd/swarm/swarm-smoke/main.go index f7f358ef1..c382591f8 100644 --- a/cmd/swarm/swarm-smoke/main.go +++ b/cmd/swarm/swarm-smoke/main.go @@ -140,19 +140,25 @@ func main() { Name: "upload_and_sync", Aliases: []string{"c"}, Usage: "upload and sync", - Action: cliUploadAndSync, + Action: wrapCliCommand("upload-and-sync", true, uploadAndSync), }, { Name: "feed_sync", Aliases: []string{"f"}, Usage: "feed update generate, upload and sync", - Action: cliFeedUploadAndSync, + Action: wrapCliCommand("feed-and-sync", true, feedUploadAndSync), }, { Name: "upload_speed", Aliases: []string{"u"}, Usage: "measure upload speed", - Action: cliUploadSpeed, + Action: wrapCliCommand("upload-speed", true, uploadSpeed), + }, + { + Name: "sliding_window", + Aliases: []string{"s"}, + Usage: "measure network aggregate capacity", + Action: wrapCliCommand("sliding-window", false, slidingWindow), }, } |