summaryrefslogtreecommitdiff
path: root/rpc/service_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/service_test.go')
-rw-r--r--rpc/service_test.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/rpc/service_test.go b/rpc/service_test.go
index 13dd4930..a57ce1bd 100644
--- a/rpc/service_test.go
+++ b/rpc/service_test.go
@@ -50,18 +50,6 @@ func Test_Enabled(t *testing.T) {
assert.True(t, ok)
}
-func Test_TwoConfigurations(t *testing.T) {
- s := &Service{}
- ok, err := s.Configure(&testCfg{`{"enable":true, "listen":"tcp://localhost:9008"}`}, nil)
-
- assert.NoError(t, err)
- assert.True(t, ok)
-
- ok, err = s.Configure(&testCfg{`{"enable":true, "listen":"tcp://localhost:9008"}`}, nil)
- assert.Error(t, err)
- assert.True(t, ok)
-}
-
func Test_StopNonServing(t *testing.T) {
s := &Service{}
ok, err := s.Configure(&testCfg{`{"enable":true, "listen":"tcp://localhost:9008"}`}, nil)