Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-2194

Random snapshot test failures when building management console

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • 0.11.0
    • None
    • Management Console
    • None
    • 2020 Week 19-21 (from May 4)

      Snapshot tests start to fail in master branch, prevent all PRs to succeed.
      Reproducing it locally, if I just run

      mvn clean install -DskipTests

      everything works fine. As soon as I clean the node_modules using

      ./clean-frontend.sh

      build fails with snapshot errors:

      Sample build failure: https://rhba-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/KIE/job/kogito/job/kogito-quarkus/job/master/54/console

      It seems to be related to a version attribute:
      [INFO] @@ -1007,11 +1007,11 @@
      [INFO] "typenameDocumentCache": Map {},
      [INFO] "watches": Set {},
      [INFO] },
      [INFO] },
      [INFO] "typeDefs": undefined,
      [INFO] - "version": "local",
      [INFO] + "version": "2.6.10",
      [INFO] "watchQuery": [Function],

            sasriniv Saravana Srinivasan
            cnicolai@redhat.com Cristiano Nicolai
            Jan Stastny Jan Stastny
            Jan Stastny Jan Stastny
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: