We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58737eb commit 4438e23Copy full SHA for 4438e23
unittests/Core/SQLiteBuildDBTest.cpp
@@ -93,7 +93,7 @@ TEST(SQLiteBuildDBTest, LockedWhileBuilding) {
93
bool success = true;
94
otherBuildDB->getCurrentEpoch(&success, &error);
95
EXPECT_FALSE(success);
96
- EXPECT_EQ(error, out.str());
+ EXPECT_TRUE(error.find("database is locked") != std::string::npos);
97
98
// Clean up database connections before unlinking
99
buildDB->buildComplete();
0 commit comments