aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/upload_test.go
Commit message (Collapse)AuthorAgeFilesLines
* cmd/swarm: speed up tests - use global cluster (#18129)Anton Evangelatov2018-11-191-47/+44
|
* cmd/swarm, swarm/api/http, swarm/bmt, swarm/fuse, swarm/network/stream, ↵Alexey Sharov2018-11-141-17/+6
| | | | | | 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)
* swarm, cmd/swarm: address ineffectual assignments (#18048)Anton Evangelatov2018-11-081-2/+1
| | | | | | | | * swarm, cmd/swarm: address ineffectual assignments * swarm/network: remove unused vars from testHandshake * swarm/storage/feed: revert cursor changes
* cmd/swarm: speed up tests (#17878)Elad2018-10-091-4/+5
| | | These minor changes already shaved off around 30s.
* cmd/swarm: fix appveyor build (#17808)Elad2018-10-021-5/+17
|
* cmd/swarm: disable export and upload tests on WindowsAnton Evangelatov2018-10-011-0/+2
|
* cmd/swarm, swarm: cross-platform Content-Type detection (#17782)Alexey Sharov2018-10-011-1/+1
| | | | | | | - Mime types generator (Standard "mime" package rely on system-settings, see mime.osInitMime) - Changed swarm/api.Upload: - simplify I/O throttling by semaphore primitive and use file name where possible - f.Close() must be called in Defer - otherwise panic or future added early return will cause leak of file descriptors - one error was suppressed
* Manifest cli fix and upload defaultpath only once (#17375)Janoš Guljaš2018-08-101-0/+81
| | | | | | | | | | | | | | | | * cmd/swarm: fix manifest subcommands and add tests * cmd/swarm: manifest update: update default entry for non-encrypted uploads * swarm/api: upload defaultpath file only once * swarm/api/client: improve UploadDirectory default path handling * cmd/swarm: support absolute and relative default path values * cmd/swarm: fix a typo in test * cmd/swarm: check encrypted uploads in manifest update tests
* swarm: network rewrite mergeethersphere2018-06-221-22/+221
|
* all: update license information (#16089)Felix Lange2018-02-141-1/+1
|
* swarm/api: make api.NewManifest synchronous (#14880)Lewis Marshall2017-07-311-2/+0
| | | | | Previously, NewManifest was asynchronous so subsequent code which tried to use the returned manifest could error as the manifest was not yet persisted.
* cmd/swarm: disable TestCLISwarmUp because it's flakyFelix Lange2017-06-231-0/+2
|
* swarm/test: add integration test for 'swarm up' (#14353)Lewis Marshall2017-06-211-0/+76