Skip to content

Commit 4b6fd5f

Browse files
committed
[postgres] re-enable passing test
1 parent efcecf5 commit 4b6fd5f

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

test/db/postgresql/simple_test.rb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -292,17 +292,6 @@ def test_bc_timestamp
292292
time = Time.utc('0000-01-01') - 1.hour - 1.minute - 1.second
293293
db_type = DbType.create!(:sample_timestamp => time)
294294

295-
if current_connection_config[:prepared_statements].to_s == 'true'
296-
pend "Likely a JRuby/Java thing - this test is failing bad: check #516"
297-
end
298-
# if current_connection_config[:insert_returning].to_s == 'true'
299-
# pend "BC timestamps not-handled right with INSERT RETURNIG ..."
300-
# end unless ar_version('4.2')
301-
#
302-
if defined?(JRUBY_VERSION) && JRUBY_VERSION < '9.2'
303-
pend "BC timestamp handling isn't working properly through JRuby 9.1 (its to be fixed in 9.2)"
304-
end
305-
306295
assert_equal time, db_type.reload.sample_timestamp
307296

308297
date = DateTime.parse('0000-01-01T00:00:00+00:00') - 1.hour - 1.minute - 1.second

0 commit comments

Comments
 (0)