Use psql 11 docker image in all tests (#372)

* Use psql 11 docker image in all tests
This commit is contained in:
Weimin Yu 2019-11-18 14:08:58 -05:00 committed by GitHub
parent 365c5da942
commit 05c45da07a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 34 deletions

View file

@ -18,8 +18,7 @@ public class NomulusPostgreSql {
/** The current PostgreSql version in Cloud SQL. */
// TODO(weiminyu): setup periodic checks to detect version changes in Cloud SQL.
// TODO(weiminyu): Upgrade to 11.5, which apparently breaks JpaTransactionManagerRule.
private static final String TARGET_VERSION = "9.6.12";
private static final String TARGET_VERSION = "11.5";
/** Returns the docker image tag of the targeted Postgresql server version. */
public static String getDockerTag() {

View file

@ -2,8 +2,8 @@
-- PostgreSQL database dump
--
-- Dumped from database version 9.6.12
-- Dumped by pg_dump version 9.6.12
-- Dumped from database version 11.5 (Debian 11.5-3.pgdg90+1)
-- Dumped by pg_dump version 11.5 (Debian 11.5-3.pgdg90+1)
SET statement_timeout = 0;
SET lock_timeout = 0;
@ -12,23 +12,10 @@ SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
--
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
--
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
SET default_tablespace = '';
SET default_with_oids = false;