Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-10054

Flaky test fix - org.kie.server.integrationtests.jbpm.cases.CaseRuntimeDataServiceIntegrationTest#testFindCaseTasksAssignedAsBusinessAdminByPassAuth

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.69.0.Final
    • 7.67.0.Final
    • KieServer
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • NEW
    • NEW
    • ---
    • ---

      There's a flaky test which fails when comparing empty strings in a task description [1]. Depending on what DB is used for the same, it may fail or succeed depending on the db used. 

      expected:<> but was:<null>

      This depends on how DB is treating the empty string. For instance, Oracle will consider NULL value when inserting an empty string into a varchar column. Thus, the test will fail, depending on the DB used to run the integration test.

      [1] - https://github.com/kiegroup/droolsjbpm-integration/blob/main/kie-server-parent/kie-server-tests/kie-server-integ-tests-all/src/test/java/org/kie/server/integrationtests/jbpm/cases/CaseRuntimeDataServiceIntegrationTest.java#L2582

              antferna Antonio Fernandez Alhambra (Inactive)
              antferna Antonio Fernandez Alhambra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: