Ejemplo n.º 1
0
def test_insert_read(node, keyprefix="key", count=50):
    insert_keys(node, keyprefix=keyprefix, count=count)
    read_keys(node, keyprefix=keyprefix, count=count)
Ejemplo n.º 2
0
def test_insert_read_and_delete(node, keyprefix="key", count=50):
    insert_keys(node, keyprefix=keyprefix, count=count)
    read_keys(node, keyprefix=keyprefix, count=count)
    delete_keys(node, count, keyprefix)
Ejemplo n.º 3
0
import telnetlib
from lib import insert_keys

node11211 = telnetlib.Telnet("localhost", 11211)
insert_keys(node11211, keyprefix="TEST", count=10000)