Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add database serializers db_to_string, db_of_string. #112

Merged
merged 5 commits into from Aug 9, 2021

Conversation

haesbaert
Copy link
Member

I want to be able to save the lease database in disk.

I want to be able to save the lease database in disk.
Preserve old code and wrap it into a try catch, this is easier and safer than
screwing up the tests. At least we get a uniform output when we run tests.
The test was running twice, and for some reason it would fail with ENOENT
failed: open: ENOENT /src/_build/default/test/_build/_tests/server tests/state progression.003.output).

My suspicion is alcotest does something in paralel and there is some kind of race.
At anyrate, we don't want to run things twice.
@hannesm
Copy link
Member

hannesm commented Aug 9, 2021

looks good to me, thanks!

@hannesm hannesm merged commit a9501d6 into mirage:main Aug 9, 2021
hannesm added a commit to hannesm/opam-repository that referenced this pull request Oct 27, 2021
…t (1.4.1)

CHANGES:

* Add database serializers (db_of_string/db_to_string) mirage/charrua#112 @haesbaert
* Remove rresult dependency (mirage/charrua#114 @hannesm)
* Avoid deprecated Cstruct.len function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants