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

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

    XMLWordPrintable

Details

    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • wip-mdl-54974
    • 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.

    Description

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

      Attachments

        Activity

          People

            rajeshtaneja Rajesh Taneja
            rajeshtaneja Rajesh Taneja
            Marina Glancy Marina Glancy
            Andrew Lyons Andrew Lyons
            Jun Pataleta Jun Pataleta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.