microsoft / LSKV

A Ledger-backed Secure Key-Value store (LSKV), built on the Confidential Consortium Framework (CCF)
https://microsoft.github.io/CCF
MIT License
35 stars 6 forks source link

Wait for ability to call commit endpoint in tests #90

Closed jeffa5 closed 2 years ago

jeffa5 commented 2 years ago

This should fix some timing issues when tests would run (and fail) before the sandbox is actually ready.

heidihoward commented 2 years ago

Is this just waiting for the commit endpoint to return or is it waiting for a particular TxID like 2.8?

jeffa5 commented 2 years ago

Currently just the endpoint to return, if there is a better endpoint I'd be happy to use it. We could use a more etcd specific thing but didn't want to bother setting up those clients here

jeffa5 commented 2 years ago

Something royally messed up on this diff anyway so will rework

jeffa5 commented 2 years ago

Turns out it was just easier to use the etcd client...