Skip to content

Commit 7d69ce8

Browse files
committed
bdd: remove needs include index check
Postgrsql versions without the feature are no longer supported.
1 parent 3913c6d commit 7d69ce8

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

tests/bdd/environment.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,3 @@ def test_db(context, **kwargs):
154154
def working_directory(context, **kwargs):
155155
with tempfile.TemporaryDirectory() as tmpdir:
156156
yield Path(tmpdir)
157-
158-
159-
def before_tag(context, tag):
160-
if tag == 'needs-pg-index-includes':
161-
if context.config.userdata['PG_VERSION'] < 110000:
162-
context.scenario.skip("No index includes in PostgreSQL < 11")
163-

tests/bdd/flex/lua-index-definitions.feature

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ Feature: Index definitions in Lua file
255255
| indexdef@substr |
256256
| USING btree (lower(name)) |
257257

258-
@needs-pg-index-includes
259258
Scenario: Include field must be a string or array
260259
Given the input file 'liechtenstein-2013-08-03.osm.pbf'
261260
And the lua style
@@ -279,7 +278,6 @@ Feature: Index definitions in Lua file
279278
The 'include' field in an index definition must contain a string or an array.
280279
"""
281280

282-
@needs-pg-index-includes
283281
Scenario: Include field must contain a valid column
284282
Given the input file 'liechtenstein-2013-08-03.osm.pbf'
285283
And the lua style
@@ -303,7 +301,6 @@ Feature: Index definitions in Lua file
303301
Unknown column 'foo' in table 'mytable'.
304302
"""
305303

306-
@needs-pg-index-includes
307304
Scenario: Include field works with string
308305
Given the input file 'liechtenstein-2013-08-03.osm.pbf'
309306
And the lua style
@@ -326,7 +323,6 @@ Feature: Index definitions in Lua file
326323
| indexdef@substr |
327324
| USING btree (name) INCLUDE (tags) |
328325

329-
@needs-pg-index-includes
330326
Scenario: Include field works with array
331327
Given the input file 'liechtenstein-2013-08-03.osm.pbf'
332328
And the lua style

0 commit comments

Comments
 (0)