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

feat(test): add one-time backup function tests #725

Merged
merged 2 commits into from
Apr 28, 2021

Conversation

zhangyifan27
Copy link
Contributor

What problem does this PR solve?

Add one-time backup function tests.

Checklist

Tests
  • Fuction test : test backup and restore using local_service
Code changes
  • Has exported new tests

neverchanje
neverchanje previously approved these changes Apr 26, 2021
src/test/function_test/test_backup_and_restore.cpp Outdated Show resolved Hide resolved
src/test/function_test/test_backup_and_restore.cpp Outdated Show resolved Hide resolved
src/test/function_test/test_backup_and_restore.cpp Outdated Show resolved Hide resolved
src/test/function_test/test_backup_and_restore.cpp Outdated Show resolved Hide resolved
src/test/function_test/test_backup_and_restore.cpp Outdated Show resolved Hide resolved
src/test/function_test/test_backup_and_restore.cpp Outdated Show resolved Hide resolved
const std::string _new_app_name;
const std::string _provider;

std::string _pegasus_root_dir;
Copy link
Contributor

Choose a reason for hiding this comment

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

dsn::string_view _pegasus_root_dir;

Copy link
Contributor Author

@zhangyifan27 zhangyifan27 Apr 26, 2021

Choose a reason for hiding this comment

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

global_env::instance()._pegasus_root returns string, so maybe no need to convert it to dsn::string_view.

@neverchanje neverchanje merged commit 68ee2a2 into apache:master Apr 28, 2021
@hycdong hycdong mentioned this pull request Aug 31, 2021
@hycdong hycdong mentioned this pull request Sep 23, 2021
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.

4 participants