This is an automated email from the ASF dual-hosted git repository. kangkaisen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push: new c5660fc [UT]Fix unit test for cgroup_util (#3094) c5660fc is described below commit c5660fcb9de16580563f21fcfd3ac772aa7f6e3e Author: WingC <1018957...@qq.com> AuthorDate: Thu Mar 12 09:59:40 2020 -0500 [UT]Fix unit test for cgroup_util (#3094) Co-authored-by: wangcong18 <wangcon...@xiaomi.com> --- be/src/util/cgroup_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/util/cgroup_util.cpp b/be/src/util/cgroup_util.cpp index 1faad57..c2a6da1 100644 --- a/be/src/util/cgroup_util.cpp +++ b/be/src/util/cgroup_util.cpp @@ -188,7 +188,7 @@ Status CGroupUtil::find_cgroup_cpu_limit(float* cpu_count) { *cpu_count = -1; return Status::OK(); } - string cfs_period_filename = cgroup_path + "/cfs_period_us"; + string cfs_period_filename = cgroup_path + "/cpu.cfs_period_us"; RETURN_IF_ERROR(read_cgroup_value(cfs_period_filename, &period)); if (quota <= period) { return Status::InvalidArgument("quota <= period"); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org