Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test, osd: fix some coverity issues #13293

Merged
merged 2 commits into from Mar 23, 2017
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Prev

test: check return value in test/multi_stress_watch

Fixes: CID#716871

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
  • Loading branch information...
Liuchang0812 committed Feb 21, 2017
commit dae052fe112104b8e673a2ed228245cb0d9d0247
@@ -154,8 +154,11 @@ int main(int args, char **argv)
std::cerr << "Error " << ret << " in cluster.conf_read_env" << std::endl;
return ret;
}
cluster.connect();

ret = cluster.connect();
if (ret) {
std::cerr << "Error " << ret << " in cluster.connect" << std::endl;
return ret;
}
if (type == "rep")
test_replicated(cluster, pool_name, obj_name);
else if (type == "ec")
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.