From 74f939fd5318d86e78ebe281304fd580223a10b1 Mon Sep 17 00:00:00 2001 From: Raul Marin Date: Tue, 4 Sep 2018 18:17:04 +0200 Subject: [PATCH] CDB_OverviewsTest: Run analyze for consistency --- test/CDB_OverviewsTest.sql | 1 + test/CDB_OverviewsTest_expect | 1 + 2 files changed, 2 insertions(+) diff --git a/test/CDB_OverviewsTest.sql b/test/CDB_OverviewsTest.sql index df41b23..71b427f 100644 --- a/test/CDB_OverviewsTest.sql +++ b/test/CDB_OverviewsTest.sql @@ -2,6 +2,7 @@ SET client_min_messages TO error; \set VERBOSITY default \i test/overviews/fixtures.sql +vacuum ANALYZE; -- Make sure there are metrics for ST_EstimatedExtent SELECT _CDB_Aggregable_Attributes_Expression('base_bare_t'::regclass); SELECT _CDB_Aggregated_Attributes_Expression('base_bare_t'::regclass); diff --git a/test/CDB_OverviewsTest_expect b/test/CDB_OverviewsTest_expect index a8a1495..4d7e979 100644 --- a/test/CDB_OverviewsTest_expect +++ b/test/CDB_OverviewsTest_expect @@ -6,6 +6,7 @@ INSERT 0 1114 CREATE TABLE INSERT 0 5 SELECT 1114 +VACUUM