Skip to content

Commit

Permalink
IBX-6507: Multirepo setup for Solr & ES
Browse files Browse the repository at this point in the history
  • Loading branch information
micszo committed Feb 26, 2024
1 parent 2e606f0 commit aae0630
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
13 changes: 13 additions & 0 deletions features/setup/multirepository/multirepository_elastic.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Feature: Multirepository setup for testing with Elastic

@multirepository
Scenario: Set up new connection and make the default one unaccessible
Given I set configuration to "ibexa_elasticsearch.connections" in "config/packages/ibexa_elasticsearch.yaml"
"""
default:
hosts:
- "%elasticsearch_dsn_invalid%"
second_connection:
hosts:
- "%elasticsearch_dsn%"
"""
17 changes: 17 additions & 0 deletions features/setup/multirepository/multirepository_solr.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Feature: Multirepository setup for testing with Solr

@multirepository
Scenario: Set up new connection and make the default one unaccessible
Given I set configuration to "ibexa_solr.connections" in "config/packages/ibexa_solr.yaml"
"""
default:
entry_endpoints::
- endpoint1_invalid
mapping:
- default: endpoint1_invalid
second_connection:
entry_endpoints::
- endpoint0
mapping:
- default: endpoint0
"""

0 comments on commit aae0630

Please sign in to comment.