Skip to content
Snippets Groups Projects
Commit 98afe2c5 authored by amudong's avatar amudong
Browse files

go fmt nacos client_test

parent 48eac29c
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ func Test_newNacosClient(t *testing.T) {
go HandleClientRestart(c)
go func() {
// c.client.Close() and <-c.client.Done() have order requirements.
// If c.client.Close() is called first.It is possible that "go HandleClientRestart(c)"
// If c.client.Close() is called first.It is possible that "go HandleClientRestart(c)"
// sets c.client to nil before calling c.client.Done().
time.Sleep(time.Second)
c.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