Skip to content

Commit e8fe65f

Browse files
committed
bdd: remove needs include index check
Postgrsql versions without the feature are no longer supported.
1 parent 9000fce commit e8fe65f

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
@@ -254,7 +254,6 @@ Feature: Index definitions in Lua file
254254
| indexdef@substr |
255255
| USING btree (lower(name)) |
256256

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

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

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

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

0 commit comments

Comments
 (0)