Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Add a few tests for the snapshot service #2059

Merged
merged 5 commits into from Sep 11, 2016
Merged

Conversation

rphmeier
Copy link
Contributor

@rphmeier rphmeier commented Sep 8, 2016

Also removes the client_db field from it as that's been superseded by the DatabaseRestore trait.

@rphmeier rphmeier added the A0-pleasereview 🤓 Pull request needs code review. label Sep 8, 2016
@coveralls
Copy link

Coverage Status

Coverage increased (+0.8%) to 84.933% when pulling bcd9639 on snap_service_tests into 012a1f3 on master.

@NikVolf NikVolf added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Sep 9, 2016
}

#[test]
fn guards_delete_folders() {
Copy link
Contributor

@NikVolf NikVolf Sep 9, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the test about btw?
is the name right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's checking if the Guard struct in the snapshot service implementation is properly deleting the restoration folder on snapshot abort or drop.

@NikVolf NikVolf added A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. A8-looksgood 🦄 Pull request is reviewed well. and removed A8-looksgood 🦄 Pull request is reviewed well. A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. labels Sep 9, 2016
@rphmeier rphmeier merged commit 835460a into master Sep 11, 2016
@arkpar arkpar deleted the snap_service_tests branch October 3, 2016 15:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants