[Groonga-commit] groonga/groonga at 9734a0a [master] travis: try to use 768MiB memory file system

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Tue Jan 24 00:06:23 JST 2017


Kouhei Sutou	2017-01-24 00:06:23 +0900 (Tue, 24 Jan 2017)

  New Revision: 9734a0aab5d63ee2cb7e295a499e41e07edd02a4
  https://github.com/groonga/groonga/commit/9734a0aab5d63ee2cb7e295a499e41e07edd02a4

  Message:
    travis: try to use 768MiB memory file system
    
    No memory file system, test is too slow. It reaches timeout. (45min)

  Modified files:
    tools/travis-script.sh

  Modified: tools/travis-script.sh (+7 -7)
===================================================================
--- tools/travis-script.sh    2017-01-23 14:37:14 +0900 (20433b5)
+++ tools/travis-script.sh    2017-01-24 00:06:23 +0900 (948f82d)
@@ -25,13 +25,13 @@ retry()
 }
 
 if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
-  # memory_fs_size=$[512 * 1024 * 1024] # 512MiB
-  # byte_per_sector=512
-  # n_sectors=$[${memory_fs_size} / ${byte_per_sector}]
-  # memory_fs_device_path=$(hdid -nomount ram://${n_sectors})
-  # newfs_hfs ${memory_fs_device_path}
-  # mkdir -p tmp
-  # mount -t hfs ${memory_fs_device_path} tmp
+  memory_fs_size=$[768 * 1024 * 1024] # 768MiB
+  byte_per_sector=512
+  n_sectors=$[${memory_fs_size} / ${byte_per_sector}]
+  memory_fs_device_path=$(hdid -nomount ram://${n_sectors})
+  newfs_hfs ${memory_fs_device_path}
+  mkdir -p tmp
+  mount -t hfs ${memory_fs_device_path} tmp
 
   command_test_options="${command_test_options} --n-workers=2"
 else
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る