summaryrefslogtreecommitdiff
path: root/plugins/resetter/tests/resetter_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/resetter/tests/resetter_test.go')
-rw-r--r--plugins/resetter/tests/resetter_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/resetter/tests/resetter_test.go b/plugins/resetter/tests/resetter_test.go
index ff5a7847..a1873dd4 100644
--- a/plugins/resetter/tests/resetter_test.go
+++ b/plugins/resetter/tests/resetter_test.go
@@ -53,7 +53,7 @@ func TestInformerInit(t *testing.T) {
tt := time.NewTimer(time.Second * 15)
- t.Run("InformerRpcTest", resetterRpcTest)
+ t.Run("InformerRpcTest", resetterRPCTest)
for {
select {
@@ -80,7 +80,7 @@ func TestInformerInit(t *testing.T) {
}
}
-func resetterRpcTest(t *testing.T) {
+func resetterRPCTest(t *testing.T) {
conn, err := net.Dial("tcp", "127.0.0.1:6001")
assert.NoError(t, err)
client := rpc.NewClientWithCodec(goridge.NewClientCodec(conn))