From fb11525e49774b240048996b9518a5f8cfec7626 Mon Sep 17 00:00:00 2001 From: yimaixinchen Date: Sat, 23 Apr 2022 10:31:48 +0800 Subject: [PATCH] [chore] Correct the java doc in funtion DagHelperTest generateDag2 (#9602) Co-authored-by: Jiajie Zhong --- .../dao/utils/DagHelperTest.java | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/utils/DagHelperTest.java b/dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/utils/DagHelperTest.java index 31178a5487..1d374d9951 100644 --- a/dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/utils/DagHelperTest.java +++ b/dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/utils/DagHelperTest.java @@ -280,9 +280,16 @@ public class DagHelperTest { } /** + * process: * 1->2->3->5->7 * 4->3->6 - * 2->8->5->7 + * 1->2->8->5->7 + * DAG graph: + * 4 -> -> 6 + * \ / + * 1 -> 2 -> 3 -> 5 -> 7 + * \ / + * -> 8 -> * * @return dag * @throws JsonProcessingException if error throws JsonProcessingException @@ -377,9 +384,12 @@ public class DagHelperTest { } /** - * 1->2->3->5->7 - * 4->3->6 - * 2->8->5->7 + * DAG graph: + * 2 + * ↑ + * 0->1(switch) + * ↓ + * 4 * * @return dag * @throws JsonProcessingException if error throws JsonProcessingException