non_shm CI should run tests on /tmp
Summary: Since non_shn CI was made to run in parallel, /dev/shm is automatically used. It defeated the purpose of the test to cover a non-ramfs file system. Closes https://github.com/facebook/rocksdb/pull/2031 Differential Revision: D4764804 Pulled By: siying fbshipit-source-id: 5666bda
This commit is contained in:
parent
8888de2b13
commit
88bb6f6bfa
@ -81,6 +81,7 @@ PARALLELISM="$PARALLEL_J $PARALLEL_j"
|
|||||||
|
|
||||||
DEBUG="OPT=-g"
|
DEBUG="OPT=-g"
|
||||||
SHM="TEST_TMPDIR=/dev/shm/rocksdb"
|
SHM="TEST_TMPDIR=/dev/shm/rocksdb"
|
||||||
|
NON_SHM="TMPD=/tmp/rocksdb_test_tmp"
|
||||||
GCC_481="ROCKSDB_FBCODE_BUILD_WITH_481=1"
|
GCC_481="ROCKSDB_FBCODE_BUILD_WITH_481=1"
|
||||||
ASAN="COMPILE_WITH_ASAN=1"
|
ASAN="COMPILE_WITH_ASAN=1"
|
||||||
CLANG="USE_CLANG=1"
|
CLANG="USE_CLANG=1"
|
||||||
@ -191,7 +192,7 @@ UNIT_TEST_NON_SHM_COMMANDS="[
|
|||||||
{
|
{
|
||||||
'name':'Build and test RocksDB debug version',
|
'name':'Build and test RocksDB debug version',
|
||||||
'timeout': 86400,
|
'timeout': 86400,
|
||||||
'shell':'$DEBUG make $PARALLELISM check || $CONTRUN_NAME=non_shm_check $TASK_CREATION_TOOL',
|
'shell':'$NON_SHM $DEBUG make $PARALLELISM check || $CONTRUN_NAME=non_shm_check $TASK_CREATION_TOOL',
|
||||||
'user':'root',
|
'user':'root',
|
||||||
$PARSER
|
$PARSER
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user