Skip to content

Commit

Permalink
Fix last remaining test failure on Codeship.
Browse files Browse the repository at this point in the history
  • Loading branch information
lfittl committed Jul 13, 2014
1 parent 53b746e commit 7d6d2f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/lib/simulator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def load_sample(file_basename)

plan[0]["Plan"].delete("Startup Cost")
plan[0]["Plan"].delete("Total Cost")
plan[0]["Plan"]["Plans"].last.delete("Startup Cost")
plan[0]["Plan"]["Plans"].last.delete("Total Cost")
expect(plan).to eq [{"Plan"=>
{"Node Type"=>"Aggregate",
"Strategy"=>"Hashed",
Expand Down Expand Up @@ -127,8 +129,6 @@ def load_sample(file_basename)
"Relation Name"=>"query_snapshot_hourlies",
"Schema"=>"public",
"Alias"=>"query_snapshot_hourlies",
"Startup Cost"=>0.13, # FIXME: Actually 1938.13
"Total Cost"=>7.04, # FIXME: Actually 84845.66
"Plan Rows"=>1, # FIXME: Actually 14862
"Plan Width"=>4,
"Output"=>
Expand Down

0 comments on commit 7d6d2f2

Please sign in to comment.