Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-104941

Fix result rankings test async timeout error in CI (Frontend Jest Test)

Details

    Description

      This error has been seen in 2 separate pull requests:

      https://github.com/brianchandotcom/liferay-portal/pull/81314#issuecomment-558228989

      https://github.com/brianchandotcom/liferay-portal/pull/81044#issuecomment-554584470

      https://github.com/brianchandotcom/liferay-portal/pull/81731#issuecomment-562411456

       

      We'll need to investigate why this only appears on CI tests as well as only sometimes erroring.

       

      components.ResultRankingsForm renders the results ranking items after loading

      Timeout - Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout.Error: at new Spec (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/jasmine/Spec.js:101:22) at new Spec (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/setup_jest_globals.js:80:9) at specFactory (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/jasmine/Env.js:496:22) at Env.it (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/jasmine/Env.js:565:22) at Env.it (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:132:23) at it (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/jasmine/jasmineLight.js:93:21) at Suite.it (/opt/dev/projects/github/liferay-portal/modules/dxp/apps/portal-search-tuning/portal-search-tuning-rankings-web/test/js/components/ResultRankingsForm.es.js:60:2) at addSpecsToSuite (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/jasmine/Env.js:417:49) at Env.describe (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/jasmine/Env.js:387:9) at describe (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/jasmine/jasmineLight.js:81:18) at Object.describe (/opt/dev/projects/github/liferay-portal/modules/dxp/apps/portal-sear...
      

      Attachments

        Issue Links

          Activity

            People

              joshua.chong Joshua Chong
              kevin.tan Kevin Tan
              Marta Elicegui Marta Elicegui
              Olivia Yu Olivia Yu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 50 weeks ago

                Packages

                  Version Package
                  7.2.X
                  7.3.0 CE GA1
                  7.3.10 DXP GA1
                  Master