Merge pull request #40199 from dillaman/wip-rbd-lockdep

test: ignore failures to force-enable lockdep

Reviewed-by: Mykola Golub <mgolub@suse.com>
This commit is contained in:
Mykola Golub 2021-03-18 18:46:13 +02:00 committed by GitHub
commit 2b21735498
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 6 deletions

View File

@ -23,8 +23,7 @@ int main(int argc, char **argv)
int r = rados.conf_set("lockdep", "true");
if (r < 0) {
std::cerr << "failed to enable lockdep" << std::endl;
return -r;
std::cerr << "warning: failed to enable lockdep" << std::endl;
}
return RUN_ALL_TESTS();
}

View File

@ -60,8 +60,7 @@ int main(int argc, char **argv)
int r = rados.conf_set("lockdep", "true");
if (r < 0) {
std::cerr << "failed to enable lockdep" << std::endl;
return -r;
std::cerr << "warning: failed to enable lockdep" << std::endl;
}
int seed = getpid();

View File

@ -46,8 +46,7 @@ int main(int argc, char **argv)
int r = rados.conf_set("lockdep", "true");
if (r < 0) {
std::cerr << "failed to enable lockdep" << std::endl;
return -r;
std::cerr << "warning: failed to enable lockdep" << std::endl;
}
return RUN_ALL_TESTS();
}