code: func (embd *Embedded) Start(t *testing.T) {
  	dir, err := ioutil.TempDir("", "ETCD")
  	if err != nil {
  		t.Error(err)
  		t.FailNow()
  	}
  
  	cfg := embed.NewConfig()
  	cfg.Dir = dir
  	lpurl, _ := url.Parse("http://localhost:0")
  	lcurl, _ := url.Parse("http://localhost:0")
  	cfg.LPUrls = []url.URL{*lpurl}
  	cfg.LCUrls = []url.URL{*lcurl}
  	embd.ETCD, err = embed.StartEtcd(cfg)
  	if err != nil {
  		t.Error(err)
  		t.FailNow()
  
  	}
  
  	select {
  	case <-embd.ETCD.Server.ReadyNotify():
  		logrus.DefaultLogger().Debug("Server is ready!")
  	case <-time.After(etcdStartTimeout * time.Second):
  		embd.ETCD.Server.Stop() // trigger a shutdown
  		t.Error("Server took too long to start!")
  		t.FailNow()
  	}
  	embd.client = v3client.New(embd.ETCD.Server)
  }
docs: // Start starts embedded ETCD.