Anton Evangelatov
ceeb047e69
cmd/swarm/swarm-smoke: better logs when debug mode triggers ( #19237 )
...
* cmd/swarm/swarm-smoke: better logs for debug functionality;
* cmd/swarm/swarm-smoke: fixup
2019-03-08 08:52:05 +01:00
Elad
4687391213
cmd/swarm: do not ignore cache size=0 ( #19231 )
2019-03-07 12:44:00 +01:00
Elad
34c85def3e
cmd/swarm/swarm-smoke: sliding window test should not time out ( #19152 )
2019-03-05 17:43:05 +01:00
Anton Evangelatov
4e9230ea7a
swarm: enable p2p/discovery and disable dynamic dialling ( #19189 )
2019-03-01 12:20:37 +01:00
lash
62d9d63858
swarm/network: WIP consider all nodes for healthy iteration ( #19155 )
...
* swarm/network: WIP consider all nodes for healthy iteration
* swarm/network/simulation: extend TestWaitTillHealthy to really check kads are healthy
* cmd/swarm/swarm-snapshot: fixed bugs in snapshot creation binary
* swarm/network/simulation: addressed PR comments
* swarm/network/simulation: defer sim.Clsoe()
* swarm/network/simulation: fixed wrong sim.Close()
* swarm/network/simulation: addressed PR comments
* cmd/swarm/swarm-snapshot: reducing default to 8 nodes, more to 4
* cmd/swarm/swarm-snapshot: extended timeout to 3 mins, or 256 nodes snapshot times out
* swarm/network/simulation: More PR comments
2019-02-28 08:12:50 +01:00
Matthew Halpern
90b6cdaadf
cmd,swarm: enforce camel case variable names ( #19060 )
2019-02-24 12:39:23 +01:00
Janoš Guljaš
64d10c0872
swarm: mock store listings ( #19157 )
...
* swarm/storage/mock: implement listings methods for mem and rpc stores
* swarm/storage/mock/rpc: add comments and newTestStore helper function
* swarm/storage/mock/mem: add missing comments
* swarm/storage/mock: add comments to new types and constants
* swarm/storage/mock/db: implement listings for mock/db global store
* swarm/storage/mock/test: add comments for MockStoreListings
* swarm/storage/mock/explorer: initial implementation
* cmd/swarm/global-store: add chunk explorer
* cmd/swarm/global-store: add chunk explorer tests
* swarm/storage/mock/explorer: add tests
* swarm/storage/mock/explorer: add swagger api definition
* swarm/storage/mock/explorer: not-zero test values for invalid addr and key
* swarm/storage/mock/explorer: test wildcard cors origin
* swarm/storage/mock/db: renames based on Fabio's suggestions
* swarm/storage/mock/explorer: add more comments to testHandler function
* cmd/swarm/global-store: terminate subprocess with Kill in tests
2019-02-23 10:47:33 +01:00
Janoš Guljaš
9d5e10f5bb
cmd/swarm/global-store: use kill instead interrupt in tests ( #19142 )
2019-02-20 22:58:25 +01:00
holisticode
62d7688d0a
cmd/swarm/swarm-smoke: Trigger chunk debug on timeout ( #19101 )
...
* cmd/swarm/swarm-smoke: first version trigger has-chunks on timeout
* cmd/swarm/swarm-smoke: finalize trigger to chunk debug
* cmd/swarm/swarm-smoke: fixed httpEndpoint for trigger
* cmd/swarm/swarm-smoke: port
* cmd/swarm/swarm-smoke: ws not rpc
* cmd/swarm/swarm-smoke: added debug output
* cmd/swarm/swarm-smoke: addressed PR comments
* cmd/swarm/swarm-smoke: renamed track-timeout and track-chunks
2019-02-18 12:05:22 +01:00
Matthew Halpern
fa87929a2f
cmd: prefer nil slices over zero-length slices ( #19077 )
2019-02-15 01:02:11 +02:00
holisticode
41597c2856
swarm: Debug API and HasChunks() API endpoint ( #18980 )
2019-02-07 15:49:19 +01:00
Janoš Guljaš
33d0a0efa6
cmd/swarm/global-store: global store cmd ( #19014 )
2019-02-07 15:46:58 +01:00
Anton Evangelatov
d212535ddd
cmd/swarm/swarm-smoke: refactor generateEndpoints ( #19006 )
2019-02-07 14:38:32 +01:00
holisticode
7f55b0cbd8
cmd/swarm: hashes command ( #19008 )
2019-02-07 13:51:24 +01:00
Janoš Guljaš
26aea73673
cmd, node, p2p/simulations: fix node account manager leak ( #19004 )
...
* node: close AccountsManager in new Close method
* p2p/simulations, p2p/simulations/adapters: handle node close on shutdown
* node: move node ephemeralKeystore cleanup to stop method
* node: call Stop in Node.Close method
* cmd/geth: close node.Node created with makeFullNode in cli commands
* node: close Node instances in tests
* cmd/geth, node: minor code style fixes
* cmd, console, miner, mobile: proper node Close() termination
2019-02-07 12:40:36 +02:00
Anton Evangelatov
c5c9cef5c0
cmd/swarm/swarm-smoke: remove wrong metrics ( #18970 )
2019-01-30 14:02:15 +01:00
Elad
b91bf08876
cmd/swarm/swarm-smoke: sliding window test ( #18967 )
2019-01-30 09:46:44 +01:00
Anton Evangelatov
21acf0bc8d
cmd/utils: allow for multiple influxdb tags ( #18520 )
...
This PR is replacing the metrics.influxdb.host.tag cmd-line flag with metrics.influxdb.tags - a comma-separated key/value tags, that are passed to the InfluxDB reporter, so that we can index measurements with multiple tags, and not just one host tag.
This will be useful for Swarm, where we want to index measurements not just with the host tag, but also with bzzkey and git commit version (for long-running deployments).
2019-01-29 09:14:24 +01:00
gluk256
ad13d2d407
swarm/version: commit version added ( #18510 )
2019-01-24 12:35:10 +01:00
Anton Evangelatov
bbd120354a
swarm: bootnode-mode, new bootnodes and no p2p package discovery ( #18498 )
2019-01-24 12:02:18 +01:00
holisticode
560957799a
cmd/swarm/swarm-smoke: use ResettingTimer instead of Counters for times ( #18479 )
2019-01-18 18:14:06 +01:00
Anton Evangelatov
a0b0db6305
cmd/swarm: use resetting timer to measure fetch time ( #18474 )
2019-01-18 13:27:27 +01:00
Elad
632135ce4c
cmd/swarm/swarm-snapshot: disable tests on windows ( #18478 )
2019-01-18 13:22:05 +01:00
holisticode
257bfff316
Upload speed ( #18442 )
2019-01-17 17:25:27 +01:00
Elad
34f11e752f
cmd/swarm/swarm-snapshot: swarm snapshot generator ( #18453 )
...
* cmd/swarm/swarm-snapshot: add binary to create network snapshots
* cmd/swarm/swarm-snapshot: refactor and extend tests
* p2p/simulations: remove unused triggerChecks func and fix linter
* internal/cmdtest: raise the timeout for killing TestCmd
* cmd/swarm/swarm-snapshot: add more comments and other minor adjustments
* cmd/swarm/swarm-snapshot: remove redundant check in createSnapshot
* cmd/swarm/swarm-snapshot: change comment wording
* p2p/simulations: revert Simulation.Run from master
https://github.com/ethersphere/go-ethereum/pull/1077/files#r247078904
* cmd/swarm/swarm-snapshot: address pr comments
* swarm/network/simulations/discovery: removed snapshot write to file
* cmd/swarm/swarm-snapshot, swarm/network/simulations: removed redundant connection event check, fixed lint error
2019-01-16 14:33:02 +01:00
Dave McGregor
33d233d3e1
vendor, crypto, swarm: switch over to upstream sha3 package
2019-01-04 09:26:07 +02:00
Anton Evangelatov
9e9fc87e70
swarm: remove unused/dead code ( #18351 )
2018-12-23 17:31:32 +01:00
Elad
bb724080ca
cmd/swarm, metrics, swarm/api/client, swarm/storage, swarm/metrics, swarm/api/http: add instrumentation ( #18274 )
2018-12-11 09:21:58 +01:00
Anton Evangelatov
7e7781ffaa
cmd/swarm: add flag for application name (swarm or swarm-private) ( #18189 )
...
* cmd/swarm: add flag for application name (swarm or swarm-private)
* cmd/swarm/swarm-smoke: return correct exit code
* cmd/swarm/swarm-smoke: remove colorable
* remove swarm/grafana_dashboards
2018-11-29 18:43:15 +02:00
Javier Peletier
4f0d978eaa
cmd/swarm: update should error on manifest mismatch ( #18047 )
...
* cmd/swarm: fix ethersphere/go-ethereum#979 :
update should error on manifest mistmatch
* cmd/swarm: fixed comments and remove sprintf from log.Info
* cmd/swarm: remove unnecessary comment
2018-11-26 17:37:59 +01:00
Javier Peletier
2714e8f091
Remove multihash from Swarm bzz:// for Feeds ( #18175 )
2018-11-26 16:10:22 +01:00
Ferenc Szabo
76f5f662cc
cmd/swarm: FUSE do not require --ipcpath ( #18112 )
...
- Have `${DataDir}/bzzd.ipc` as IPC path default.
- Respect the `--datadir` flag.
- Keep only the global `--ipcpath` flag and drop the local `--ipcpath` flag
as flags might overwrite each other. (Note: before global `--ipcpath`
was ignored even if it was set)
fixes ethersphere#795
2018-11-23 01:32:34 +01:00
Anton Evangelatov
d31f1f4fdb
cmd/swarm/swarm-smoke: update smoke tests to fit the new scheme for the k8s cluster ( #18104 )
2018-11-19 14:58:10 +01:00
Anton Evangelatov
6b6c4d1c27
cmd/swarm: speed up tests - use global cluster ( #18129 )
2018-11-19 14:57:22 +01:00
Alexey Sharov
eb8fa3cc89
cmd/swarm, swarm/api/http, swarm/bmt, swarm/fuse, swarm/network/stream, swarm/storage, swarm/storage/encryption, swarm/testutil: use pseudo-random instead of crypto-random for test files content generation ( #18083 )
...
- Replace "crypto/rand" to "math/rand" for files content generation
- Remove swarm/network_test.go.Shuffle and swarm/btm/btm_test.go.Shuffle - because go1.9 support dropped (see https://github.com/ethereum/go-ethereum/pull/17807 and comments to swarm/network_test.go.Shuffle)
2018-11-14 09:21:14 +01:00
Andrew Chiw
a0876f7433
Imply that SwarmApiFlag is the API endpoint to connect to, not to listen on ( #18071 )
2018-11-12 13:04:13 +01:00
Anton Evangelatov
cf3b187bde
swarm, cmd/swarm: address ineffectual assignments ( #18048 )
...
* swarm, cmd/swarm: address ineffectual assignments
* swarm/network: remove unused vars from testHandshake
* swarm/storage/feed: revert cursor changes
2018-11-07 20:39:08 +01:00
Elad
126dfde6c9
cmd/swarm: auto resolve default path according to env flag ( #17960 )
2018-11-04 07:59:58 +01:00
Roc Yu
3e1cfbae93
cmd/swarm/swarm-smoke: fix issue that loop variable capture in func ( #17992 )
2018-10-29 10:00:00 +01:00
lash
862d6f2fbf
cmd/swarm: Smoke test for Swarm Feed ( #17892 )
2018-10-12 16:24:00 +02:00
Elad
4868964bb9
cmd/swarm: split flags and cli command declarations to the relevant files ( #17896 )
2018-10-12 14:51:38 +02:00
Elad
da290e9707
cmd/swarm: speed up tests ( #17878 )
...
These minor changes already shaved off around 30s.
2018-10-09 14:08:40 +02:00
Anton Evangelatov
82a1c771ef
cmd/swarm: disable tests under Windows until they are fixed ( #17827 )
2018-10-04 09:18:03 +02:00
Viktor Trón
e5677114dc
Merge pull request #17796 from epiclabs-io/mru-feeds
...
swarm/storage/feeds: Renamed MRU to Swarm Feeds
2018-10-03 14:59:41 +02:00
Anton Evangelatov
303b99663e
swarm: schemas and migrations ( #17813 )
2018-10-03 14:31:59 +02:00
Javier Peletier
de01178c18
swarm/storage/feed: Renamed package
2018-10-03 09:15:28 +02:00
Javier Peletier
696bc9b01c
swarm/storage/feeds: renamed vars that can conflict with package name
2018-10-03 09:12:06 +02:00
Javier Peletier
58c0879c2f
swarm/storage/feeds: removed capital Feed throughout
2018-10-03 09:12:06 +02:00
Javier Peletier
b6ccc06cda
swarm/storage/feeds: Final package rename and moved files
2018-10-03 09:12:06 +02:00
Javier Peletier
83705ef6aa
swarm/storage/mru: Renamed rest of MRU references
2018-10-03 09:12:06 +02:00