Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-75

Flaky testsuite: create-page aftereach hook

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • None
    • None
    • None
    • Basel 80
    • 3

    Description

      It seems there is a flaky test.

      After kicking off the testsuite again, it returned back to green.

      
        1) create-page "after each" hook:
           Uncaught AssertionError: expected [Error: ENOENT: no such file or directory, open '/var/lib/jenkins/workspace/build_npm-cli/test/light-modules/foo/templates/pages/myPage.yaml'] to be null
            at ReadFileContext.<anonymous> (test/testHelper.js:16:22)
            at ReadFileContext.callback (node_modules/fs-extra/node_modules/graceful-fs/graceful-fs.js:78:16)
            at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:303:13)
      

      https://jenkins.magnolia-cms.com/job/build_npm-cli/143/console
      https://jenkins.magnolia-cms.com/job/build_npm-cli/147/console

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkowalski Robert Kowalski
                rkowalski Robert Kowalski
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD