Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.635 kb
import unittest
import uuid
from TestInput import TestInputSingleton
import logger
import time
from membase.performance.stats import StatsCollector
class SampleStatsTests(unittest.TestCase):
def setUp(self):
self.log = logger.Logger.get_logger()
self.servers = TestInputSingleton.input.servers
def test1(self):
sc = StatsCollector(False)
#nodes, bucket, pnames, frequency):
sc.start([self.servers[0]], "default", ["memcached", "beam.smp"], str(uuid.uuid4()), 10)
time.sleep(600)
sc.stop()
self.log.info("stopped the stat collection")
sc.export("hi")
Jump to Line
Something went wrong with that request. Please try again.