Skip to content

Commit

Permalink
job manager test (#4085)
Browse files Browse the repository at this point in the history
Co-authored-by: Sophie <[email protected]>
  • Loading branch information
panda-sheep and Sophie-Xie authored Mar 30, 2022
1 parent 5edd02c commit 808f75a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/graph/executor/admin/SubmitJobExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion src/meta/processors/job/BalanceJobExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 808f75a

Please sign in to comment.