Integration tests failing on HHVM
thekid opened this issue · 1 comments
thekid commented
See https://travis-ci.org/xp-framework/rdbms/jobs/135264912:
F unittest.TestWarning(test= rdbms.unittest.integration.MySQLIntegrationTest::connectFailedThrowsException, time= 0.134 seconds) {
[""mysql_connect(): Access denied for user 'wrong-user'@'localhost' (using password: YES)" in mysqli::hh_real_connect() (, line 0, occured once)"]
}
×: 45/104 run (59 skipped), 44 succeeded, 1 failed
Memory used: 2048.00 kB (2048.00 kB peak)
Time taken: 5.856 seconds
thekid commented
Problem is this error with an empty filename at line 0 which is not cleared by xp::gc(__FILE__)
:
array(1) {
[""]=>
array(1) {
[0]=>
array(1) {
["mysql_connect(): Access denied for user 'wrong-user'@'localhost' (using password: YES)"]=>
array(3) {
["class"]=>
string(6) "mysqli"
["method"]=>
string(15) "hh_real_connect"
["cnt"]=>
int(1)
}
}
}
}