cmd/swarm, swarm/api/http, swarm/bmt, swarm/fuse, swarm/network/stream,...
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)
Showing
- cmd/swarm/access_test.go 2 additions, 1 deletioncmd/swarm/access_test.go
- cmd/swarm/export_test.go 6 additions, 30 deletionscmd/swarm/export_test.go
- cmd/swarm/feeds_test.go 11 additions, 26 deletionscmd/swarm/feeds_test.go
- cmd/swarm/manifest_test.go 3 additions, 3 deletionscmd/swarm/manifest_test.go
- cmd/swarm/run_test.go 1 addition, 2 deletionscmd/swarm/run_test.go
- cmd/swarm/upload_test.go 6 additions, 17 deletionscmd/swarm/upload_test.go
- swarm/api/client/client_test.go 8 additions, 9 deletionsswarm/api/client/client_test.go
- swarm/api/http/response_test.go 5 additions, 7 deletionsswarm/api/http/response_test.go
- swarm/api/http/server_test.go 12 additions, 20 deletionsswarm/api/http/server_test.go
- swarm/api/http/test_server.go 1 addition, 1 deletionswarm/api/http/test_server.go
- swarm/bmt/bmt_test.go 16 additions, 55 deletionsswarm/bmt/bmt_test.go
- swarm/fuse/swarmfs_test.go 66 additions, 97 deletionsswarm/fuse/swarmfs_test.go
- swarm/network/stream/common_test.go 2 additions, 7 deletionsswarm/network/stream/common_test.go
- swarm/network/stream/delivery_test.go 3 additions, 4 deletionsswarm/network/stream/delivery_test.go
- swarm/network/stream/intervals_test.go 3 additions, 3 deletionsswarm/network/stream/intervals_test.go
- swarm/network/stream/snapshot_sync_test.go 2 additions, 3 deletionsswarm/network/stream/snapshot_sync_test.go
- swarm/network/stream/syncer_test.go 2 additions, 3 deletionsswarm/network/stream/syncer_test.go
- swarm/network_test.go 2 additions, 31 deletionsswarm/network_test.go
- swarm/storage/chunker_test.go 18 additions, 16 deletionsswarm/storage/chunker_test.go
- swarm/storage/common_test.go 1 addition, 6 deletionsswarm/storage/common_test.go
Loading
Please register or sign in to comment