diff options
author | Valery Piashchynski <[email protected]> | 2020-12-14 18:58:32 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-14 18:58:32 +0300 |
commit | ea25ded710988949f99eea395e31e3ac61f844f8 (patch) | |
tree | ae94c9b606f5b6e3cefaf8d7d8ae6b2eb0c90bdb /plugins | |
parent | 6ae6f8968188d5851e1929fff81e15cb730619b4 (diff) |
update goridge in go.mod
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/resetter/tests/resetter_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/resetter/tests/resetter_test.go b/plugins/resetter/tests/resetter_test.go index 378757c2..3bfccf47 100644 --- a/plugins/resetter/tests/resetter_test.go +++ b/plugins/resetter/tests/resetter_test.go @@ -19,7 +19,7 @@ import ( "github.com/stretchr/testify/assert" ) -func TestInformerInit(t *testing.T) { +func TestResetterInit(t *testing.T) { cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel)) if err != nil { t.Fatal(err) @@ -53,7 +53,7 @@ func TestInformerInit(t *testing.T) { tt := time.NewTimer(time.Second * 15) - t.Run("InformerRpcTest", resetterRPCTest) + t.Run("ResetterRpcTest", resetterRPCTest) for { select { @@ -94,6 +94,7 @@ func resetterRPCTest(t *testing.T) { var services []string err = client.Call("resetter.List", nil, &services) + assert.NotNil(t, services) assert.NoError(t, err) if services[0] != "resetter.plugin1" { t.Fatal("no enough services") |