← Back to team overview

mahara-contributors team mailing list archive

[Bug 2006632] [NEW] PHP port in use for behat

 

Public bug reported:

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.

** Affects: mahara
     Importance: Undecided
         Status: New


** Tags: behat-dev

** Patch added: "mahara_behat.sh.patch"
   https://bugs.launchpad.net/bugs/2006632/+attachment/5645633/+files/mahara_behat.sh.patch

-- 
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:
  New

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



Follow ups