Re: mysqlIndexerTest.test_unicode fails for me

"John P. Rouillard" <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
Hi Christof:

In message <[email protected]>,
Christof Meerwald writes:
>On Wed, 29 Apr 2020 17:26:21 +0200, Ralf Schlatterbeck wrote:
>> The test in test_indexer.py:
>> mysqlIndexerTest.test_unicode
>>
>> fails in my debian buster installation. It was broken before on the
>> previous debian version, too. The test passes in Travis.
>
>That's interesting as I have set up an automated test instance with
>Debian buster on circleci.com where all tests are passing, see
>https://circleci.com/bb/cmeerw/roundup-tracker/62 (config is in
>.circleci/config.yml)

Config is:

platform linux -- Python 3.7.3, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 -- /usr/bin/python3

Then only special thing I see is:

       # HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901
       #   needed for test_mysql.mysqlDBTest.testFilteringSpecialChars
       sed -i -e 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/' roundup/backends/back_mysql.py

Could that have something to do with it?

I wonder why that change is being patched in during esting nd not
changed in the code.

Also Christof, is the test coverage info pushed off to some app or is
it just visible as part of the circleci log?

Have a great day all.

--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.