clean up etcd backing for sequence persistent storage. It uses some OS
specific calls and is not OS-agnostic.
This commit is contained in:
@@ -14,11 +14,6 @@ func TestFileBacking(t *testing.T) {
|
||||
verifySetGet(t, ms)
|
||||
}
|
||||
|
||||
func TestEtcdBacking(t *testing.T) {
|
||||
ms := &MetaStore{NewMetaStoreEtcdBacking("http://localhost:4001")}
|
||||
verifySetGet(t, ms)
|
||||
}
|
||||
|
||||
func verifySetGet(t *testing.T, ms *MetaStore) {
|
||||
data := uint64(234234)
|
||||
ms.SetUint64("/tmp/sequence", data)
|
||||
|
||||
Reference in New Issue
Block a user