You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
out << "error: accessing build database \"" << path << "\": database is locked Possibly there are two concurrent builds running in the same filesystem location.";
53
-
EXPECT_EQ(error, out.str());
50
+
EXPECT_TRUE(error.find("database is locked") != std::string::npos);
// Tests that we cannot start a second build with an existing connection
86
83
result = secondBuildDB->buildStarted(&error);
87
84
EXPECT_FALSE(result);
88
-
std::stringstream out;
89
-
out << "error: accessing build database \"" << path << "\": database is locked Possibly there are two concurrent builds running in the same filesystem location.";
90
-
EXPECT_EQ(error, out.str());
85
+
EXPECT_TRUE(error.find("database is locked") != std::string::npos);
91
86
92
87
// Tests that we cannot create new connections while a build is running
0 commit comments