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

Fix Kafka test failures in InstanceStorageTest

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • 25.0.1
    • 25.0.2, 26.0.0
    • None
    • CP: Sprint 152, CP: Sprint 154
    • 1
    • Core: Platform
    • Nolana (R3 2022) Bug Fix
    • Implementation coding issue

    Description

      When upgrading to Vert.x 4.3.5 and RMB 35.0.4 we get build failures:

      10% of all GitHub Actions builds fail with this message:

        InstanceStorageTest.canReplaceAnInstanceAtSpecificLocation:428    
          Expected: is "UPDATE"   
               but: was "CREATE"   
      

      5% of all GitHub Actions builds fail with this message:

        InstanceStorageTest.canUpdateInstanceWithDiscoverySuppressProperty:2678    
          Expected: is "UPDATE"   
               but: was "CREATE"
      

      Fix this by matching the expected Kafka message at any position in the Kafka message stream, not only at the last position.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                julianladisch Julian Ladisch
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases