Skip to content

Commit 7123766

Browse files
committed
Increase stability of the look_a_like test: clear learning data before
the test.
1 parent fcb577a commit 7123766

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

expected/look_a_like.out

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
CREATE EXTENSION aqo;
2+
SELECT true FROM aqo_reset();
3+
bool
4+
------
5+
t
6+
(1 row)
7+
28
SET aqo.join_threshold = 0;
39
SET aqo.mode = 'learn';
410
SET aqo.show_details = 'on';

regress_schedule

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@ test: plancache
1515
test: update_functions
1616
# Performance-dependent test. Can be ignored if executes in containers or on slow machines
1717
ignore: statement_timeout
18-
ignore: smart_statement_timeout
19-
test: statement_timeout
2018
test: temp_tables
2119
test: top_queries
2220
test: relocatable
2321
test: look_a_like
2422
test: feature_subspace
25-
test: smart_statement_timeout

sql/look_a_like.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
CREATE EXTENSION aqo;
2+
SELECT true FROM aqo_reset();
23
SET aqo.join_threshold = 0;
34
SET aqo.mode = 'learn';
45
SET aqo.show_details = 'on';

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy