mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 04:44:28 +08:00
Redis Server started in Tests now shutdowns at end of tests (#61)
Redis Server started in tests now shutdowns at end of tests.
This commit is contained in:
committed by
Robert Nishihara
parent
8147b62964
commit
800bf8deb3
@@ -49,8 +49,11 @@ test: hiredis redis $(BUILD)/common_tests $(BUILD)/task_table_tests $(BUILD)/obj
|
||||
./build/redis_tests
|
||||
./build/task_table_tests
|
||||
./build/object_table_tests
|
||||
./thirdparty/redis/src/redis-cli shutdown
|
||||
|
||||
valgrind: test
|
||||
./thirdparty/redis/src/redis-server &
|
||||
sleep 1s
|
||||
valgrind --leak-check=full --error-exitcode=1 ./build/common_tests
|
||||
valgrind --leak-check=full --error-exitcode=1 ./build/db_tests
|
||||
valgrind --leak-check=full --error-exitcode=1 ./build/io_tests
|
||||
@@ -58,5 +61,6 @@ valgrind: test
|
||||
valgrind --leak-check=full --error-exitcode=1 ./build/redis_tests
|
||||
valgrind --leak-check=full --error-exitcode=1 ./build/task_table_tests
|
||||
valgrind --leak-check=full --error-exitcode=1 ./build/object_table_tests
|
||||
./thirdparty/redis/src/redis-cli shutdown
|
||||
|
||||
FORCE:
|
||||
|
||||
Reference in New Issue
Block a user