Skip to content

Commit

Permalink
More behat testing this time where jobe_host is 172.17.0.1 if bht_ is…
Browse files Browse the repository at this point in the history
… the prefix (set in jobesandbox.php)
  • Loading branch information
mckeownp committed Mar 4, 2024
1 parent a0c5cc7 commit ddb8bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/jobesandbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit ddb8bd7

Please sign in to comment.