diff --git a/classes/jobesandbox.php b/classes/jobesandbox.php index 17201479..ecd26d20 100644 --- a/classes/jobesandbox.php +++ b/classes/jobesandbox.php @@ -74,13 +74,13 @@ public function __construct() { global $CFG; qtype_coderunner_sandbox::__construct(); - // Hack to force use of a local jobe host when behat testing. - if ($CFG->prefix == "bht_" || $CFG->prefix == "b_") { - $this->jobeserver = "172.17.0.1:4000"; // "localhost:4000"; - } else { - $this->jobeserver = get_config('qtype_coderunner', 'jobe_host'); - } - + // // Hack to force use of a local jobe host when behat testing. + // if ($CFG->prefix == "bht_" || $CFG->prefix == "b_") { + // $this->jobeserver = "172.17.0.1:4000"; // "localhost:4000"; + // } else { + // $this->jobeserver = get_config('qtype_coderunner', 'jobe_host'); + // } + $this->jobeserver = '172.17.0.1:4000'; $this->apikey = get_config('qtype_coderunner', 'jobe_apikey'); $this->languages = null; }