Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix: init app before start tests (#870)
Browse files Browse the repository at this point in the history
  • Loading branch information
levy5307 authored Jul 30, 2021
1 parent 633f08e commit 196df9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/replica/test/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ TEST(cold_backup_context, write_current_chkpt_file) { app->write_current_chkpt_f

error_code replication_service_test_app::start(const std::vector<std::string> &args)
{
app = this;
gtest_ret = RUN_ALL_TESTS();
gtest_flags = 1;
return dsn::ERR_OK;
Expand Down

0 comments on commit 196df9a

Please sign in to comment.