Source release 19.3.0
This commit is contained in:
@@ -22,6 +22,7 @@ using wvutil::TestSleep;
|
||||
|
||||
namespace wvcdm {
|
||||
FileSystem* RebootTest::file_system_;
|
||||
std::unique_ptr<FileSystem> RebootTest::default_file_system_;
|
||||
|
||||
namespace {
|
||||
// How much fudge or round off error do we allow in license durations for reboot
|
||||
@@ -31,7 +32,10 @@ constexpr int64_t kFudge = 10;
|
||||
|
||||
void RebootTest::SetUp() {
|
||||
WvCdmTestBase::SetUp();
|
||||
if (!file_system_) file_system_ = CreateTestFileSystem();
|
||||
if (!file_system_) {
|
||||
if (!default_file_system_) default_file_system_ = CreateTestFileSystem();
|
||||
file_system_ = default_file_system_.get();
|
||||
}
|
||||
|
||||
const ::testing::TestInfo* const test_info =
|
||||
::testing::UnitTest::GetInstance()->current_test_info();
|
||||
|
||||
Reference in New Issue
Block a user