Skip to content

MSSSQL testEncodeOffsetDateTime fails with JDK11 #1014

@tsegismont

Description

@tsegismont

Test failure report:

2021-07-15T06:53:08.1827305Z testEncodeOffsetDateTime(io.vertx.mssqlclient.data.MSSQLPreparedQueryNotNullableDataTypeTest)  Time elapsed: 0.024 sec  <<< FAILURE!
2021-07-15T06:53:08.1834084Z junit.framework.AssertionFailedError: Expected that public abstract java.lang.Object io.vertx.sqlclient.Tuple.getValue(int) would not fail: expected:<2021-07-15T06:53:04.440609-03:15> but was:<2021-07-15T06:53:04.440610-03:15>
2021-07-15T06:53:08.1836523Z 	at io.vertx.sqlclient.ColumnChecker.lambda$returns$4(ColumnChecker.java:106)
2021-07-15T06:53:08.1838190Z 	at io.vertx.sqlclient.ColumnChecker.forRow(ColumnChecker.java:220)
2021-07-15T06:53:08.1841783Z 	at io.vertx.mssqlclient.data.MSSQLPreparedQueryNotNullableDataTypeTest.lambda$testEncodeOffsetDateTime$6(MSSQLPreparedQueryNotNullableDataTypeTest.java:160)
2021-07-15T06:53:08.1844658Z 

The same test never fails with JDK8

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions