Skip to content

Commit 2dbd756

Browse files
committed
[test] remove pends - MariaDB driver has been updated
1 parent 53755e4 commit 2dbd756

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

test/db/mysql/simple_test.rb

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,14 @@ def test_time_according_to_precision
5252
time = ::Time.utc(2007, 1, 1, 12, 30, 0, 999999)
5353
foo_class.create!(start: time, finish: time, a_date: time.to_date)
5454

55-
if mariadb_driver?
56-
pend 'TODO: MariaDB driver failing HERE, revisit when updated!'
57-
end
58-
5955
assert foo = foo_class.find_by(start: time)
6056
assert_equal 1, foo_class.where(finish: time).count
6157

6258
assert_equal time.to_s.sub('2007', '2000'), foo.start.to_s
6359
assert_equal time.to_s.sub('2007', '2000'), foo.finish.to_s
6460
assert_equal time.to_date.to_s, foo.a_date.to_s
6561
assert_equal 000000, foo.start.usec
66-
if mariadb_driver? # NOTE: this is a mariadb driver bug, works in latest 2.2
67-
warn "#{__method__} assert skipped on MariaDB driver, remove when driver upgraded to 2.x"
68-
else
69-
assert_equal 999900, foo.finish.usec
70-
end
62+
assert_equal 999900, foo.finish.usec
7163

7264
# more asserts :
7365

0 commit comments

Comments
 (0)