From 6012222c32863db8840a96efeb719f915237bcd6 Mon Sep 17 00:00:00 2001 From: Jille Timmermans Date: Mon, 23 Jan 2023 21:08:05 +0100 Subject: [PATCH] e2e_test: Reenable no_second_run for tests creating new databases On some PostgreSQL versions template1 explicitly grants postgres some permissions on template1 which are granted on new databases. --- testdata/create-drop-databases.yaml | 1 + testdata/new-database-with-tables.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/testdata/create-drop-databases.yaml b/testdata/create-drop-databases.yaml index faf8ddd..0c03722 100644 --- a/testdata/create-drop-databases.yaml +++ b/testdata/create-drop-databases.yaml @@ -8,3 +8,4 @@ config: expected: - "/* */ CREATE DATABASE spawning" - "/* */ DROP DATABASE dying" +no_second_run: true diff --git a/testdata/new-database-with-tables.yaml b/testdata/new-database-with-tables.yaml index 4c794de..80f7ca0 100644 --- a/testdata/new-database-with-tables.yaml +++ b/testdata/new-database-with-tables.yaml @@ -10,3 +10,4 @@ config: expected: - "/* */ CREATE DATABASE spawning" - "/* spawning */ CREATE SCHEMA spawning" +no_second_run: true