Skip to content
Snippets Groups Projects
Commit 0769966f authored by scott.wang's avatar scott.wang
Browse files

Fix ut nil pointer issue

parent 52a9e288
No related branches found
No related tags found
No related merge requests found
......@@ -142,5 +142,5 @@ func (s *KubernetesRegistryTestSuite) TestHandleClientRestart() {
r.WaitGroup().Add(1)
go r.HandleClientRestart()
time.Sleep(timeSecondDuration(1))
r.CloseAndNilClient()
r.client.Close()
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment