← Back to team overview

mahara-contributors team mailing list archive

[Bug 2006632] A change has been merged

 

Reviewed:  https://reviews.mahara.org/c/mahara/+/13889
Committed: https://git.mahara.org/mahara/mahara/commit/03543dff93e0b98f3be85462dbad5dea00363d33
Submitter: "Robert Lyon <robertl@xxxxxxxxxxxxxxx>"
Branch:    main

commit 03543dff93e0b98f3be85462dbad5dea00363d33
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Fri Mar 31 13:40:47 2023 +1300

Bug 2006632: Allow config.php set the PHP and SELENIUM ports

>From the $cfg->behat_wwwroot and  $cfg->behat_selenium2 values if they
specify a port number

Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Change-Id: Ia243a5224723079980788710239c69246cd95bb3

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/2006632

Title:
  PHP port in use for behat

Status in Mahara:
  Fix Committed

Bug description:
  I had an issue running mahara_behat.sh and tracked it down to port
  8000 already being used.

  We should check for the port being in use and incrementing if so.

  The attached patch resolved this for me.

  This uses nc (netcat) to test the port.  From what I've seen, netcat
  is installed on more distros than not.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/2006632/+subscriptions



References