Uploaded image for project: 'mod-inventory-storage'
  1. mod-inventory-storage
  2. MODINVSTOR-725

shouldStopProcessingWhenCannotConvertItem depends on other test

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 21.0.0
    • 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

      TestRail: Results

        Attachments

          Activity

            People

              julianladisch Julian Ladisch
              adam Adam Dickmeiss (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases