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

Need to execute init script twice when re-initialising Behat for parallel runs for upgraded instances

    XMLWordPrintable

Details

    • MOODLE_35_STABLE
    • MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • MDL-64597-master
    • Hide
      1. Checkout Moodle 3.4.0

        git checkout v3.4.0
        

      2. Initialise parallel Behat.

        php admin/tool/behat/cli/init.php -j=2
        

      3. Check out the appropriate branch for your Moodle instance. (e.g. if you're on 3.6, then you do a git checkout of the MOODLE_36_STABLE branch)
      4. Initialise parallel Behat again.

        php admin/tool/behat/cli/init.php -j=2
        

      5. Confirm that after the database tables have been dropped, the process proceeds with the installation of the Behat sites right away.
      Show
      Checkout Moodle 3.4.0 git checkout v3.4.0 Initialise parallel Behat. php admin/tool/behat/cli/init.php -j=2 Check out the appropriate branch for your Moodle instance. (e.g. if you're on 3.6, then you do a git checkout of the MOODLE_36_STABLE branch) Initialise parallel Behat again. php admin/tool/behat/cli/init.php -j=2 Confirm that after the database tables have been dropped, the process proceeds with the installation of the Behat sites right away.

    Description

      What happens:

      1. Moodle instance with parallel Behat sites is set up.
      2. Moodle code base gets updated.
      3. Run init script:

        php admin/tool/behat/cli/init.php -j=N
        

      4. Expected: The script should drop all the tables and reinstall the Behat sites.
      5. Actual: The script only drops the outdated tables and you have to run the script again in order to reinstall the Behat sites.

      Attachments

        Activity

          People

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Mathew May Mathew May
            Andrew Lyons Andrew Lyons
            Janelle Barcega Janelle Barcega
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Mar/19

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h