Invalid SQL "auto_increment" causes PostGisRoleServiceTest and PostGisUserDetailsServiceTest to fail

Description

Invalid SQL "auto_increment" causes PostGisRoleServiceTest and PostGisUserDetailsServiceTest to fail when online tests against PostGIS are configured by a valid ~/.geoserver/postgis.properties:

I think PostgreSQL uses serial not auto_increment, which is specific to MySQL.

Environment

Debian unstable amd64:
postgresql-9.6 9.6.1-2 amd64
postgresql-9.6-postgis-2.3 2.3.0+dfsg-3 amd64

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T05:41:47+13:00)
Maven home: /home/ben/java/maven
Java version: 1.8.0_111, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "4.8.0-1-amd64", arch: "amd64", family: "unix"

Status

Assignee

Alessio Fabiani

Reporter

Ben Caradoc-Davies

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure