[fix] fix broadcast default postProcess's bug

This commit is contained in:
tjq 2020-06-13 21:48:43 +08:00
parent d69687f672
commit 67bea9f1d6
3 changed files with 5 additions and 5 deletions

View File

@ -49,7 +49,7 @@ public class TestClient {
@Test @Test
public void testFetchJob() throws Exception { public void testFetchJob() throws Exception {
ResultDTO<JobInfoDTO> fetchJob = ohMyClient.fetchJob(7L); ResultDTO<JobInfoDTO> fetchJob = ohMyClient.fetchJob(1L);
System.out.println(JsonUtils.toJSONStringUnsafe(fetchJob)); System.out.println(JsonUtils.toJSONStringUnsafe(fetchJob));
} }

File diff suppressed because one or more lines are too long

View File

@ -36,6 +36,6 @@ public abstract class BroadcastProcessor implements BasicProcessor {
failed ++; failed ++;
} }
} }
return new ProcessResult(succeed == 0, String.format("succeed:%d, failed:%d", succeed, failed)); return new ProcessResult(failed == 0, String.format("succeed:%d, failed:%d", succeed, failed));
} }
} }