cmd/swarm: speed up tests - use global cluster (#18129)
This commit is contained in:
committed by
GitHub
parent
3333fe660f
commit
6b6c4d1c27
@ -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)
|
||||
|
Reference in New Issue
Block a user