<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Le lun. 24 août 2015 à 16:00, Marc Delisle <<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 2015-08-24 03:00, Michal Čihař a écrit :<br>
> Hi<br>
><br>
> Dne Sat, 22 Aug 2015 14:11:00 -0400<br>
> Marc Delisle <<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>> napsal(a):<br>
><br>
>> Hi,<br>
>> does someone have a clue about these? [0] I cannot reproduce these<br>
>> problems on my phpunit.<br>
>><br>
>> [0] <a href="https://travis-ci.org/phpmyadmin/phpmyadmin/jobs/76699535" rel="noreferrer" target="_blank">https://travis-ci.org/phpmyadmin/phpmyadmin/jobs/76699535</a><br>
>><br>
><br>
><br>
> The problems seem to be there at least since this build:<br>
><br>
> <a href="https://travis-ci.org/phpmyadmin/phpmyadmin/jobs/76402734#L452" rel="noreferrer" target="_blank">https://travis-ci.org/phpmyadmin/phpmyadmin/jobs/76402734#L452</a><br>
<br>
About this failing test on Travis:<br>
===========<br>
PMA_ExportSql_Test::testExportDBCreate<br>
<br>
Failed asserting that 'DROP DATABASE `db`;<br>
CREATE DATABASE IF NOT EXISTS `db` COLLATE utf8_general_ci;<br>
USE `db`;'<br>
contains<br>
<br>
"CREATE DATABASE IF NOT EXISTS `db` DEFAULT CHARACTER SET utf8 COLLATE<br>
utf8_general_ci;"<br>
=========<br>
<br>
looking at exportDBCreate() the only possible reason is that<br>
if (PMA_DRIZZLE)<br>
<br>
is true<br>
<br>
--<br>
Marc Delisle | phpMyAdmin<br></blockquote><div><br></div><div>Hi,</div><div><br></div><div>There are too many implied global config used by functions. So it's quite hard to generate a generic unit test.</div><div>But… If Drizzle is removed, we will simplify the code and avoid this specific error. :)</div><div><br></div><div>H.</div></div></div>