Kouhei Sutou 2019-05-21 05:34:03 +0900 (Tue, 21 May 2019) Revision: d7a2f7a6425f3955ad2c65b703f9b603bc696d37 https://github.com/mroonga/mroonga/commit/d7a2f7a6425f3955ad2c65b703f9b603bc696d37 Message: travis: don't use --mem for MySQL 8.0 Because enough memory isn't available on Travis CI: fork failed sleep 1 second and redo: Cannot allocate memory at lib/My/SafeProcess/Base.pm line 58. fork failed sleep 1 second and redo: Cannot allocate memory at lib/My/SafeProcess/Base.pm line 58. fork failed sleep 1 second and redo: Cannot allocate memory at lib/My/SafeProcess/Base.pm line 58. fork failed sleep 1 second and redo: Cannot allocate memory at lib/My/SafeProcess/Base.pm line 58. fork failed sleep 1 second and redo: Cannot allocate memory at lib/My/SafeProcess/Base.pm line 58. fork failed sleep 1 second and redo: Cannot allocate memory at lib/My/SafeProcess/Base.pm line 58. fork failed sleep 1 second and redo: Cannot allocate memory at lib/My/SafeProcess/Base.pm line 58. fork failed sleep 1 second and redo: Cannot allocate memory at lib/My/SafeProcess/Base.pm line 58. fork failed sleep 1 second and redo: Cannot allocate memory at lib/My/SafeProcess/Base.pm line 58. fork failed sleep 1 second and redo: Cannot allocate memory at lib/My/SafeProcess/Base.pm line 58. fork failed after: Cannot allocate memory at ./mysql-test-run.pl line 6721. fork failed after: Cannot allocate memory at ./mysql-test-run.pl line 6721. Modified files: test/run-sql-test.sh tools/travis/script.sh Modified: test/run-sql-test.sh (+4 -2) =================================================================== --- test/run-sql-test.sh 2019-05-20 15:01:12 +0900 (775886d5) +++ test/run-sql-test.sh 2019-05-21 05:34:03 +0900 (def5803a) @@ -232,8 +232,10 @@ if [ -z "$test_suite_names" ]; then fi mysql_test_run_args="" -if [ "${percona}" != "yes" ]; then - mysql_test_run_args="${mysql_test_run_args} --mem" +if [ -z "${CI}" ]; then + if [ "${percona}" != "yes" ]; then + mysql_test_run_args="${mysql_test_run_args} --mem" + fi fi mysql_test_run_args="${mysql_test_run_args} --parallel=${n_processors}" mysql_test_run_args="${mysql_test_run_args} --retry=1" Modified: tools/travis/script.sh (+12 -0) =================================================================== --- tools/travis/script.sh 2019-05-20 15:01:12 +0900 (d888ee8d) +++ tools/travis/script.sh 2019-05-21 05:34:03 +0900 (d25b14e1) @@ -97,6 +97,18 @@ prepare_sql_test() run_sql_test() { test_args=() + case "${MYSQL_VERSION}" in + mysql-8.0) + : + ;; + percona-server-*) + : + ;; + *) + test_args=("${test_args[@]}" "--mem") + ;; + esac + if [ "${MROONGA_TEST_EMBEDDED}" = "yes" ]; then test_args=("${test_args[@]}" "--embedded-server") fi -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20190521/dcfabaa3/attachment.html>