Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-606

HridSettingsIncreaseMaxValueMigrationTest has stopped working

    XMLWordPrintable

    Details

    • Template:
    • Development Team:
      Core: Platform

      Description

      As of today, mod-inventory-storage (master) uses 29.4.0.

      If I point to 29.5.0-SNAPSHOT, then tests start to fail..

      mvn -B -Dtest=HridSettingsIncreaseMaxValueMigrationTest test
      

      Since changing RMB version fixes this, I assume it's a regresssion in RMB. Now that RMB has forked from 29.3.0 and 29.4 series are a branch of that, it is not trivial to tell what broke it.

      The test makes use of runSQLFile. Perhaps that give a clue. See attached rmb-606.txt.

      INFO: trying to execute:  INSERT INTO test_tenant_mod_inventory_storage.hrid_settings   SELECT id, jsonb_build_object(     'id', id,     'instances', jsonb_build_object('prefix', 'in', 'startNumber', 1),     'holdings', jsonb_build_object('prefix', 'ho', 'startNumber', 1),     'items', jsonb_build_object('prefix', 'it', 'startNumber', 1)   )   FROM (SELECT gen_random_uuid() AS id) AS alias   ON CONFLICT DO NOTHING
      Apr 30, 2020 8:08:14 PM org.folio.rest.persist.PostgresClient
      SEVERE: ERROR: function gen_random_uuid() does not exist
        Hint: No function matches the given name and argument types. You might need to add explicit type casts.
        Position: 335
      

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                adam Adam Dickmeiss
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases