Skip to content

Commit

Permalink
FAT-17574: Restart mod-search kafka listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
pkjacob authored and PBobylev committed Dec 20, 2024
1 parent f6dce6e commit 6830a64
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Feature: mod-linked-data integration tests

Background:
* url baseUrl
* table searchModule
| name |
| 'mod-search' |

Scenario: Restart mod-search kafka listeners
// Create a dummy tenant & enable mod-search for that tenant. Also, delete that tenant immediately.
// This will restart kafka listeners in mod-search
* def dummyTenant = 'dummytenant' + random_string().toLowerCase()
* call read('classpath:common/tenant.feature') ({ modules: searchModule, tenant: dummyTenant })
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public ModLinkedDataTest() {
public void setup() {
runFeature("classpath:citation/mod-linked-data/linked-data-junit.feature");
runFeature("classpath:citation/mod-linked-data/create-ref-data.feature");
runFeature("classpath:citation/mod-linked-data/restart-mod-search-kafka-listeners.feature");
}

@AfterAll
Expand Down Expand Up @@ -51,7 +52,6 @@ void updateAuthority() {
runFeatureTest("authority/authority-update.feature");
}


@Test
void importBibRecordFromSrsToLinkedData() {
runFeatureTest("import-bib/import-bib.feature");
Expand Down

0 comments on commit 6830a64

Please sign in to comment.