Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Fix broken wicket db tests by downgrading the mysql connector#2603

Merged
michaelhixson merged 1 commit intoTechEmpower:masterfrom
michaelhixson:wicket-mysql-connector-6-to-5
Mar 22, 2017
Merged

Fix broken wicket db tests by downgrading the mysql connector#2603
michaelhixson merged 1 commit intoTechEmpower:masterfrom
michaelhixson:wicket-mysql-connector-6-to-5

Conversation

@michaelhixson
Copy link
Copy Markdown
Contributor

Version 6.x of the connector is apparently more opinionated about time zones. All of the db tests were failing with exceptions like this:

java.sql.SQLException: The server time zone value 'CDT' is
unrecognized or represents more than one time zone. You must
configure either the server or JDBC driver (via the serverTimezone
configuration property) to use a more specifc time zone value if you
want to utilize time zone support.

Maybe it's making a valid point that we should address, maybe not. But right now mysql-connector-java 6.x is a "development release". Let's use the stable release (5.x) instead, which is what every other framework that uses Java and mysql is doing already.

Version 6.x of the connector is apparently more opinionated about time
zones.  All of the db tests were failing with exceptions like this:

  java.sql.SQLException: The server time zone value 'CDT' is
  unrecognized or represents more than one time zone. You must
  configure either the server or JDBC driver (via the serverTimezone
  configuration property) to use a more specifc time zone value if you
  want to utilize time zone support.

Maybe it's making a valid point that we should address, maybe not.  But
right now mysql-connector-java 6.x is a "development release".  Let's
use the stable release (5.x) instead, which is what every other
framework that uses Java and mysql is doing already.
@martin-g
Copy link
Copy Markdown
Contributor

The tests pass here and AFAIK they pass at Travis too.
I guess your local timezone breaks it somehow.
But I don't mind downgrading it to 5.x!

@martin-g
Copy link
Copy Markdown
Contributor

It seems the DB tests fail for Round 14 Preview 1: https://www.techempower.com/benchmarks/previews/round14/r13-vs-r14p1.html
So definitely please merge this PR!
Thank you, @michaelhixson !

@michaelhixson michaelhixson merged commit 61d0437 into TechEmpower:master Mar 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants