Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-54974

SIGINT handling doesn't work with Behat with PHP 7.0.x

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      Run following on php7.0.x, php 5.4.x
      1. Initialise behat
      2. Run behat using vendor/bin/behat and ensure it starts normally
      3. Press ctrl+c to stop process and ensure behat stops with execution summary.
      4. Run behat using php admin/tool/behat/cli/run.php and ensure it starts normally.
      5. Press ctrl+c to stop process and ensure behat stops with execution summary.
      6. Modify mod/assign/feedback/editpdf/tests/behat/annotate_pdf.feature to fail at some step, run behat and then press ctrl+c. Ensure behat stops with failure summary.

      NOTE: Ensure to test it on 30, 31 and master

      FYI: You can use attached Docker_run.sh file to run different combinations.

      Show
      Run following on php7.0.x, php 5.4.x Initialise behat Run behat using vendor/bin/behat and ensure it starts normally Press ctrl+c to stop process and ensure behat stops with execution summary. Run behat using php admin/tool/behat/cli/run.php and ensure it starts normally. Press ctrl+c to stop process and ensure behat stops with execution summary. Modify mod/assign/feedback/editpdf/tests/behat/annotate_pdf.feature to fail at some step, run behat and then press ctrl+c. Ensure behat stops with failure summary. NOTE: Ensure to test it on 30, 31 and master FYI: You can use attached Docker_run.sh file to run different combinations.
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull Master Branch:
      wip-mdl-54974

      Description

      ctrl+c doesn't work when running behat with 7.0.x version.

        Attachments

          Activity

            People

            • Assignee:
              rajeshtaneja Rajesh Taneja
              Reporter:
              rajeshtaneja Rajesh Taneja
              Peer reviewer:
              Marina Glancy
              Integrator:
              Andrew Nicols
              Tester:
              Jun Pataleta
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jul/16