Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: yisaer <[email protected]>
  • Loading branch information
Yisaer committed Jan 20, 2022
1 parent 6d68234 commit 479f3e7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions planner/core/physical_plan_trace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,8 @@ func checkList(d []string, s []string) bool {
func getList(otrace *tracing.PhysicalOptimizeTracer) (ll []string, pl []string) {
for logicalPlan, v := range otrace.State {
ll = append(ll, logicalPlan)
for _, info := range v {
for _, task := range info.Candidates {
pl = append(pl, tracing.CodecPlanName(task.TP, task.ID))
}
for physicalPlanKey := range v {
pl = append(pl, physicalPlanKey)
}
}
sort.Strings(ll)
Expand Down

0 comments on commit 479f3e7

Please sign in to comment.