Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
None
-
CP: sprint 115
-
1
-
Core: Platform
Description
ItemShelvingOrderMigrationServiceApiTest has two tests: shouldPopulateShelvingOrder and shouldStopProcessingWhenCannotConvertItem.
If shouldStopProcessingWhenCannotConvertItem is not preceded by shouldPopulateShelvingOrder, test fails.
mvn -Dtest=ItemShelvingOrderMigrationServiceApiTest#shouldStopProcessingWhenCannotConvertItem test 2>&1 | tee out ... Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 13.988 sec <<< FAILURE! - in org.folio.rest.api.ItemShelvingOrderMigrationServiceApiTest shouldStopProcessingWhenCannotConvertItem(org.folio.rest.api.ItemShelvingOrderMigrationServiceApiTest) Time elapsed: 0.129 sec <<< ERROR! java.lang.RuntimeException: java.util.concurrent.ExecutionException: io.vertx.pgclient.PgException: { "message": "relation \"item\" does not exist", "severity": "ERROR", "code": "42P01", "position": "8", "file": "parse_relation.c", "line": "1191", "routine": "parserOpenTable" } at org.folio.rest.api.ItemShelvingOrderMigrationServiceApiTest.shouldStopProcessingWhenCannotConvertItem(ItemShelvingOrderMigrationServiceApiTest.java:45) Caused by: java.util.concurrent.ExecutionException: io.vertx.pgclient.PgException: { "message": "relation \"item\" does not exist", "severity": "ERROR", "code": "42P01", "position": "8", "file": "parse_relation.c", "line": "1191", "routine": "parserOpenTable" } at org.folio.rest.api.ItemShelvingOrderMigrationServiceApiTest.shouldStopProcessingWhenCannotConvertItem(ItemShelvingOrderMigrationServiceApiTest.java:45) Caused by: io.vertx.pgclient.PgException: { "message": "relation \"item\" does not exist", "severity": "ERROR", "code": "42P01", "position": "8", "file": "parse_relation.c", "line": "1191", "routine": "parserOpenTable" } Results : Tests in error: ItemShelvingOrderMigrationServiceApiTest.shouldStopProcessingWhenCannotConvertItem:45->MigrationTestBase.executeSql:81->TestBase.get:73 ยป Runtime Tests run: 1, Failures: 0, Errors: 1, Skipped: 0