Navigation Menu

Skip to content

Commit

Permalink
Normalize dump.forecast
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 17, 2015
1 parent ddc500f commit 051d492
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/drntest/responses-normalizer.rb
Expand Up @@ -38,6 +38,7 @@ def dump_command?
DUMP_TYPE_ORDER = [
"dump.start",
"dump.result",
"dump.forecast",
"dump.table",
"dump.column",
"dump.record",
Expand All @@ -52,6 +53,8 @@ def normalize_dump_responses
type_order = DUMP_TYPE_ORDER.index(type) || -1
body = response["body"]
case type
when "dump.forecast"
body_order = body["nMessages"]
when "dump.table"
body_order = body["name"]
when "dump.column"
Expand Down

0 comments on commit 051d492

Please sign in to comment.