mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Re-enable a few tests I had missed.
Fix integration test for the change to log entry zero. Increase test timeouts since integration tests often take longer than 10s for me.
This commit is contained in:
parent
b29240baf0
commit
30690d15d9
@ -249,6 +249,8 @@ func NewServer(cfg *ServerConfig) (*EtcdServer, error) {
|
||||
log.Printf("etcdserver: recovering from snapshot at index %d", snapshot.Metadata.Index)
|
||||
st.Recovery(snapshot.Data)
|
||||
index = snapshot.Metadata.Index
|
||||
} else {
|
||||
index = 1
|
||||
}
|
||||
cfg.Cluster = NewClusterFromStore(cfg.Cluster.token, st)
|
||||
cfg.Print()
|
||||
|
@ -7,7 +7,6 @@ import (
|
||||
)
|
||||
|
||||
func TestRestartMember(t *testing.T) {
|
||||
t.Skip("TODO(bdarnell): re-enable this test")
|
||||
defer afterTest(t)
|
||||
c := NewCluster(t, 3)
|
||||
c.Launch(t)
|
||||
|
@ -865,7 +865,6 @@ func TestV2WatchWithIndex(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestV2WatchKeyInDir(t *testing.T) {
|
||||
t.Skip("TODO(bdarnell): re-enable this test")
|
||||
cl := NewCluster(t, 1)
|
||||
cl.Launch(t)
|
||||
defer cl.Terminate(t)
|
||||
@ -914,7 +913,6 @@ func TestV2WatchKeyInDir(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestV2Head(t *testing.T) {
|
||||
t.Skip("TODO(bdarnell): re-enable this test")
|
||||
cl := NewCluster(t, 1)
|
||||
cl.Launch(t)
|
||||
defer cl.Terminate(t)
|
||||
|
Loading…
x
Reference in New Issue
Block a user