Done
Details
Assignee
Tatsiana TarhonskayaTatsiana TarhonskayaReporter
Adam DickmeissAdam DickmeissPriority
P3Story Points
1Sprint
NoneDevelopment Team
VegaFix versions
Release
Not ScheduledRCA Group
Implementation coding issueTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Tatsiana Tarhonskaya
Tatsiana TarhonskayaReporter
Adam Dickmeiss
Adam DickmeissPriority
Story Points
1
Sprint
None
Development Team
Vega
Fix versions
Release
Not Scheduled
RCA Group
Implementation coding issue
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created August 1, 2022 at 12:50 PM
Updated April 16, 2024 at 9:17 AM
Resolved February 15, 2023 at 1:01 PM
Overview:
The module fails running tests if Kafka is running . Ideally a Kafka container should always be used for testing, so not depending on the host environment at all.
Steps to Reproduce:
Run kafka on port 9092
and test with something like:
mvn test
Expected Results:
Either tests pass or note in the "readme" mentioning that this module is not isolated but will use local environment (not ideal, but better than nothing).
Actual Results:
[INFO] [ERROR] Errors: [ERROR] org.folio.rest.impl.AuditMessageAPITest.org.folio.rest.impl.AuditMessageAPITest [ERROR] Run 1: AuditMessageAPITest>AbstractRestTest.setUpClass:68 » Runtime Unable to start t... [ERROR] Run 2: AuditMessageAPITest>AbstractRestTest.tearDownClass:153 » NullPointer Cannot in... [INFO] [ERROR] org.folio.rest.impl.EventTypeAPITest.org.folio.rest.impl.EventTypeAPITest [ERROR] Run 1: EventTypeAPITest>AbstractRestTest.setUpClass:68 » Runtime Unable to start the ... [ERROR] Run 2: EventTypeAPITest>AbstractRestTest.tearDownClass:153 » NullPointer Cannot invok... [INFO] [ERROR] org.folio.rest.impl.MessagingModulesApiTest.org.folio.rest.impl.MessagingModulesApiTest [ERROR] Run 1: MessagingModulesApiTest>AbstractRestTest.setUpClass:68 » Runtime Unable to sta... [ERROR] Run 2: MessagingModulesApiTest>AbstractRestTest.tearDownClass:153 » NullPointer Canno... [INFO] [ERROR] org.folio.rest.impl.ModTenantApiTest.org.folio.rest.impl.ModTenantApiTest [ERROR] Run 1: ModTenantApiTest>AbstractRestTest.setUpClass:68 » Runtime Unable to start the ... [ERROR] Run 2: ModTenantApiTest>AbstractRestTest.tearDownClass:153 » NullPointer Cannot invok... [INFO] [ERROR] org.folio.rest.impl.PublishTest.org.folio.rest.impl.PublishTest [ERROR] Run 1: PublishTest>AbstractRestTest.setUpClass:68 » Runtime Unable to start the embed... [ERROR] Run 2: PublishTest>AbstractRestTest.tearDownClass:153 » NullPointer Cannot invoke "io... [INFO] [ERROR] org.folio.rest.impl.PublishersApiTest.org.folio.rest.impl.PublishersApiTest [ERROR] Run 1: PublishersApiTest>AbstractRestTest.setUpClass:68 » Runtime Unable to start the... [ERROR] Run 2: PublishersApiTest>AbstractRestTest.tearDownClass:153 » NullPointer Cannot invo... [INFO] [ERROR] org.folio.rest.impl.SubscribersApiTest.org.folio.rest.impl.SubscribersApiTest [ERROR] Run 1: SubscribersApiTest>AbstractRestTest.setUpClass:68 » Runtime Unable to start th... [ERROR] Run 2: SubscribersApiTest>AbstractRestTest.tearDownClass:153 » NullPointer Cannot inv... [INFO] [INFO] [ERROR] Tests run: 35, Failures: 0, Errors: 7, Skipped: 0