Skip to content

Commit 9e55fb9

Browse files
peeyushguptaGeert Vanderkelen
authored andcommitted
BUG21541244: Fix running unit tests for MySQL server 5.5
Unit tests were not running with MySQL server 5.5 due to MySQL server bootstrap failure. The reason being the difference in size of InnoDB log file created and the size mentioned in the config file. We fix this by creating InnoDB log file of appropriate size while bootstrapping MySQL server. (cherry picked from commit 9fe6002)
1 parent 9295a8e commit 9e55fb9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/mysqld.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ def _get_bootstrap_cmd(self):
410410
'--default-storage-engine=myisam',
411411
'--net_buffer_length=16K',
412412
'--tmpdir=%s' % self._tmpdir,
413+
'--innodb_log_file_size=1Gb',
413414
]
414415
if self._version[0:2] < (5, 5):
415416
cmd.append('--language={0}/english'.format(self._lc_messages_dir))

0 commit comments

Comments
 (0)