You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by ad...@apache.org on 2017/09/29 20:56:09 UTC
kudu git commit: env-test: add NO_FATALS to create_file and
create_dir calls
Repository: kudu
Updated Branches:
refs/heads/master 8f6ef48ea -> bec2a2463
env-test: add NO_FATALS to create_file and create_dir calls
Change-Id: I872caa9b4347fc3dde04677235415c5149318eba
Reviewed-on: http://gerrit.cloudera.org:8080/8178
Reviewed-by: Todd Lipcon <to...@apache.org>
Tested-by: Kudu Jenkins
Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/bec2a246
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/bec2a246
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/bec2a246
Branch: refs/heads/master
Commit: bec2a2463df0dc23b9ed2e1e8b2fc2ad03686950
Parents: 8f6ef48
Author: Adar Dembo <ad...@cloudera.com>
Authored: Fri Sep 29 12:04:39 2017 -0700
Committer: Adar Dembo <ad...@cloudera.com>
Committed: Fri Sep 29 20:55:52 2017 +0000
----------------------------------------------------------------------
src/kudu/util/env-test.cc | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kudu/blob/bec2a246/src/kudu/util/env-test.cc
----------------------------------------------------------------------
diff --git a/src/kudu/util/env-test.cc b/src/kudu/util/env-test.cc
index 2dddb6c..ca3f16f 100644
--- a/src/kudu/util/env-test.cc
+++ b/src/kudu/util/env-test.cc
@@ -714,18 +714,18 @@ TEST_F(TestEnv, TestWalk) {
string subdir_c = JoinPathSegments(subdir_b, "dir_c");
string file_one = "file_1";
string file_two = "file_2";
- create_dir(root);
- create_file(JoinPathSegments(root, file_one));
- create_file(JoinPathSegments(root, file_two));
- create_dir(subdir_a);
- create_file(JoinPathSegments(subdir_a, file_one));
- create_file(JoinPathSegments(subdir_a, file_two));
- create_dir(subdir_b);
- create_file(JoinPathSegments(subdir_b, file_one));
- create_file(JoinPathSegments(subdir_b, file_two));
- create_dir(subdir_c);
- create_file(JoinPathSegments(subdir_c, file_one));
- create_file(JoinPathSegments(subdir_c, file_two));
+ NO_FATALS(create_dir(root));
+ NO_FATALS(create_file(JoinPathSegments(root, file_one)));
+ NO_FATALS(create_file(JoinPathSegments(root, file_two)));
+ NO_FATALS(create_dir(subdir_a));
+ NO_FATALS(create_file(JoinPathSegments(subdir_a, file_one)));
+ NO_FATALS(create_file(JoinPathSegments(subdir_a, file_two)));
+ NO_FATALS(create_dir(subdir_b));
+ NO_FATALS(create_file(JoinPathSegments(subdir_b, file_one)));
+ NO_FATALS(create_file(JoinPathSegments(subdir_b, file_two)));
+ NO_FATALS(create_dir(subdir_c));
+ NO_FATALS(create_file(JoinPathSegments(subdir_c, file_one)));
+ NO_FATALS(create_file(JoinPathSegments(subdir_c, file_two)));
// Do the walk.
unordered_set<string> actual;