coreos / etcd-operator

etcd operator creates/configures/manages etcd clusters atop Kubernetes
https://coreos.com/blog/introducing-the-etcd-operator.html
Apache License 2.0
1.75k stars 740 forks source link

backup/restore operator e2e test should verify etcd data #1686

Open hongchaodeng opened 6 years ago

hongchaodeng commented 6 years ago

Currently it only verifies the etcd cluster is restored. We should write some data before backup and then verify data is there after restored.

raoofm commented 6 years ago

@hongchaodeng just wanted to understand the usecase. Isn't a restore done on a new cluster? In which case will there be some data. Do you mean member info?

hongchaodeng commented 6 years ago

The current e2e test doesn't write data (foo=bar) to etcd. We should improve the test so that it verify the data is actually restored.