diff --git a/src/test/java/org/mariadb/jdbc/MariaDbDatabaseMetaDataTest.java b/src/test/java/org/mariadb/jdbc/MariaDbDatabaseMetaDataTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/mariadb/jdbc/MariaDbDatabaseMetaDataTest.java
+++ b/src/test/java/org/mariadb/jdbc/MariaDbDatabaseMetaDataTest.java
@@ -21,7 +21,7 @@ public class MariaDbDatabaseMetaDataTest extends BaseTest {
      */
     @Test
     public void testYearDataType() throws Exception {
-        createTable("yearTableMeta", "xx tinyint(1), yy year(2), zz bit, uu smallint");
+        createTable("yearTableMeta", "xx tinyint(1), yy year(4), zz bit, uu smallint");
         try (Connection connection = setConnection()) {
             checkResults(connection, true, true);
         }
[CONJ-<I>] changing test to use year(4) to test MySQL compatibility