From 0b6e894d13bfda57c8925543ecccdfb05b97c12d Mon Sep 17 00:00:00 2001 From: panda-sheep <59197347+panda-sheep@users.noreply.github.com> Date: Mon, 28 Mar 2022 12:11:55 +0800 Subject: [PATCH] job manager test --- src/graph/executor/admin/SubmitJobExecutor.cpp | 3 ++- src/meta/processors/job/BalanceJobExecutor.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/graph/executor/admin/SubmitJobExecutor.cpp b/src/graph/executor/admin/SubmitJobExecutor.cpp index 046c1d7096a..a277fe5f944 100644 --- a/src/graph/executor/admin/SubmitJobExecutor.cpp +++ b/src/graph/executor/admin/SubmitJobExecutor.cpp @@ -156,7 +156,8 @@ nebula::DataSet SubmitJobExecutor::buildShowResultData( folly::sformat("Succeeded:{}", succeeded), folly::sformat("Failed:{}", failed), folly::sformat("In Progress:{}", inProgress), - folly::sformat("Invalid:{}", invalid)})); + folly::sformat("Invalid:{}", invalid), + (" ")})); return v; } else { nebula::DataSet v( diff --git a/src/meta/processors/job/BalanceJobExecutor.cpp b/src/meta/processors/job/BalanceJobExecutor.cpp index 8244c816bea..331541a01bb 100644 --- a/src/meta/processors/job/BalanceJobExecutor.cpp +++ b/src/meta/processors/job/BalanceJobExecutor.cpp @@ -20,7 +20,7 @@ BalanceJobExecutor::BalanceJobExecutor(GraphSpaceID space, : MetaJobExecutor(space, jobId, kvstore, adminClient, paras) {} bool BalanceJobExecutor::check() { - return !paras_.empty(); + return true; } nebula::cpp2::ErrorCode BalanceJobExecutor::prepare() {