On Tuesday, November 12, 2013 6:45:22 AM UTC-8, Rodrigo Rosenfeld Rosas
wrote:
> I'm getting 7 failing specs for PG:
>
> 1)
> 'PostgreSQL array handling insert and retrieve arrays of other types'
> FAILED
> expected: [{:ba=>["a\u0000", nil], :tz=>[2013-11-12 10:20:30 -0200, nil],
> :o=>[1, 2, 3]}],
> got: [{:ba=>["a\x00", nil], :tz=>[2013-11-12 08:20:30 -0200, nil],
> :o=>[1, 2, 3]}] (using ==)
> spec/adapters/postgres_spec.rb:1912:in `block (2 levels) in <top
> (required)>'
>
> 2)
> 'Sequel::SQL::Constants should have working CURRENT_TIME' FAILED
> expected 0 +/- (< 60), got -7199.992641032
> spec/integration/dataset_test.rb:796:in `block (2 levels) in <top
> (required)>'
>
> 3)
> 'Sequel::SQL::Constants should have working CURRENT_TIMESTAMP' FAILED
> expected 0 +/- (< 60), got -7199.992660421
> spec/integration/dataset_test.rb:802:in `block (2 levels) in <top
> (required)>'
>
> 4)
> 'Sequel::SQL::Constants should have working CURRENT_TIMESTAMP when used as
> a column default' FAILED
> expected 0 +/- (< 60), got -7199.992422691
> spec/integration/dataset_test.rb:808:in `block (2 levels) in <top
> (required)>'
>
> 5)
> 'Touch plugin should update the timestamp column for many_to_one
> associated records when the record is updated or destroyed' FAILED
> expected 1384262267 +/- (< 60), got 1384269467
> spec/integration/plugin_test.rb:545:in `block (2 levels) in <top
> (required)>'
>
> 6)
> 'Touch plugin should update the timestamp column for one_to_many
> associated records when the record is updated' FAILED
> expected 1384262268 +/- (< 60), got 1384269467
> spec/integration/plugin_test.rb:565:in `block (2 levels) in <top
> (required)>'
>
> 7)
> 'Touch plugin should update the timestamp column for many_to_many
> associated records when the record is updated' FAILED
> expected 1384262268 +/- (< 60), got 1384269468
> spec/integration/plugin_test.rb:579:in `block (2 levels) in <top
> (required)>'
>
> Finished in 260.380801368 seconds
>
>
> Is there something I should do to make them pass? I'm running them against
> PG 9.3.
>
All of these appear to be due to differences between the time on the local
machine and the time on the database server. It appears there is a time
difference of two hours between the two. Please make sure the clocks on
the machines are synchronized, then try running the specs again.
Thanks,
Jeremy
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/groups/opt_out.