aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/feeds_test.go
diff options
context:
space:
mode:
authorAnton Evangelatov <anton.evangelatov@gmail.com>2018-11-19 21:57:22 +0800
committerGitHub <noreply@github.com>2018-11-19 21:57:22 +0800
commit6b6c4d1c2754f8dd70172ab58d7ee33cf9058c7d (patch)
tree894902776d7f1211c0095baab6dc1c29ac157c78 /cmd/swarm/feeds_test.go
parent3333fe660f00b519a9d16398ca3801ab9313be16 (diff)
downloaddexon-6b6c4d1c2754f8dd70172ab58d7ee33cf9058c7d.tar
dexon-6b6c4d1c2754f8dd70172ab58d7ee33cf9058c7d.tar.gz
dexon-6b6c4d1c2754f8dd70172ab58d7ee33cf9058c7d.tar.bz2
dexon-6b6c4d1c2754f8dd70172ab58d7ee33cf9058c7d.tar.lz
dexon-6b6c4d1c2754f8dd70172ab58d7ee33cf9058c7d.tar.xz
dexon-6b6c4d1c2754f8dd70172ab58d7ee33cf9058c7d.tar.zst
dexon-6b6c4d1c2754f8dd70172ab58d7ee33cf9058c7d.zip
cmd/swarm: speed up tests - use global cluster (#18129)
Diffstat (limited to 'cmd/swarm/feeds_test.go')
-rw-r--r--cmd/swarm/feeds_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/swarm/feeds_test.go b/cmd/swarm/feeds_test.go
index fc3f72ab1..a0cedf0d3 100644
--- a/cmd/swarm/feeds_test.go
+++ b/cmd/swarm/feeds_test.go
@@ -36,7 +36,6 @@ import (
)
func TestCLIFeedUpdate(t *testing.T) {
-
srv := swarmhttp.NewTestSwarmServer(t, func(api *api.API) swarmhttp.TestServer {
return swarmhttp.NewServer(api, "")
}, nil)
@@ -44,7 +43,6 @@ func TestCLIFeedUpdate(t *testing.T) {
defer srv.Close()
// create a private key file for signing
-
privkeyHex := "0000000000000000000000000000000000000000000000000000000000001979"
privKey, _ := crypto.HexToECDSA(privkeyHex)
address := crypto.PubkeyToAddress(privKey.PublicKey)