code: func (sv *Service) Stop(t *testing.T) {
  	defer os.RemoveAll(sv.dataDir)
  
  	ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
  	err := sv.httpServer.Shutdown(ctx)
  	cancel()
  	if err != nil && err != context.DeadlineExceeded {
  		t.Fatal(err)
  	}
  	err = <-sv.httpErrc
  	if err != nil {
  		t.Fatal(err)
  	}
  
  	sv.rootCancel()
  	sv.etcd.Close()
  }
docs: // Stop stops etcd server, removing the data directory, and http server.