-
Bug
-
Resolution: Fixed
-
Minor
-
2.3.4, 2.4.1, 2.5
-
None
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE
-
w04_
MDL-37767_m25_pgsocket -
I've my main dev site with this setting:
$CFG->dboptions['dbsocket'] = 1
Under MySQL, it seems to work ok for normal use (web, cli, install, upgrade...) and phpunit passing 100%. Surely because I've the socket defined in php.ini (haven't tried without).
But, under PostgreSQL, although it seems to work perfectly for normal use, it's failing badly when executing the phpunit tests. Apparently all the tests using adodb are failing / being skipped.
I get this:
..S.........FSS..........S............ 1098 / 1632 ( 67%)
|
|
There was 1 failure:
|
|
1) enrol_database_testcase::test_sync_user_enrolments
|
Failed asserting that 0 matches expected 2.
|
|
Tests: 1630, Assertions: 29588, Failures: 1, Skipped: 5.
|
Aka, 4 skipped and 1 failure 8not counting the "normal" ldap skip).
It's dark-magic from where the postgres client gets the socket information, but it seems that there is one problem passing that option to adodb.
Reproduced under master, haven't tried stables. Ciao