From ddb8bd78667b6231cb386bcaa6fce4d40da7ffab Mon Sep 17 00:00:00 2001 From: Paul McKeown Date: Mon, 4 Mar 2024 16:31:55 +1300 Subject: [PATCH] More behat testing this time where jobe_host is 172.17.0.1 if bht_ is the prefix (set in jobesandbox.php) --- classes/jobesandbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/jobesandbox.php b/classes/jobesandbox.php index ebd00005..c18dd7fa 100644 --- a/classes/jobesandbox.php +++ b/classes/jobesandbox.php @@ -76,7 +76,7 @@ public function __construct() { // Hack to force use of a local jobe host when behat testing. if ($CFG->prefix == "bht_") { - $this->jobeserver = "localhost:4000"; + $this->jobeserver = "172.17.0.1:4000"; // "localhost:4000"; } else { $this->jobeserver = get_config('qtype_coderunner', 'jobe_host'); }