diff .travis.yml @ 6616:b8e74fd34f97

Reinstall workaround for mysql bug. mysqlRestTest.testGetExactMatch and mysqlDBTest.testFilteringStringExactMatch failed in CI.
author John Rouillard <rouilj@ieee.org>
date Sat, 12 Feb 2022 10:39:01 -0500
parents 36ccdf0eff8d
children bae541e5fb26
line wrap: on
line diff
--- a/.travis.yml	Sat Feb 12 10:11:31 2022 -0500
+++ b/.travis.yml	Sat Feb 12 10:39:01 2022 -0500
@@ -123,6 +123,10 @@
   # set up postgresql database
   - psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
 
+  # HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901
+  #   needed for test_mysql.mysqlDBTest.testFilteringSpecialChars
+  - sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/'
+
   # build the .mo translation files and install them into a tree
   # (locale/locale under roundup directory root) 
   # suitable for use by gettext.

Roundup Issue Tracker: http://roundup-tracker.org/