1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
# encoding: tarantool
#
import os
import sys
# mask BFD warnings: https://bugs.launchpad.net/tarantool/+bug/1018356
sys.stdout.push_filter("unable to read unknown load command 0x2\d+", "")
print """
# Bug #855616:
# memcached_space must not be configured
# (https://bugs.launchpad.net/bugs/855616)
"""
# stop current server
server.stop()
# start server with memcached off
server.deploy("memcached/cfg/tarantool_memcached_off.cfg")
# check values
exec admin "show configuration"
# stop current server
server.stop()
# start server with memcached space conflict
sys.stdout.push_filter("(/\S+)+/tarantool", "tarantool")
server.test_option("-c " + os.path.join(os.getcwd(), "memcached/cfg/tarantool_memcached_bad.cfg"))
sys.stdout.pop_filter()
# restore default server
server.stop()
server.deploy(self.suite_ini["config"])
sys.stdout.pop_filter()
# vim: syntax=python
|