コード例 #1
0
 def setUp(self):
     self.server = self.add_server(CustomErrorServer())
コード例 #2
0
 def setUp(self):
     self.mc1 = self.add_server(CustomErrorServer())
     self.mc2 = self.add_server(Memcached())
     self.mcr = self.add_mcrouter(self.config, extra_args=self.extra_args)
コード例 #3
0
ファイル: test_stats.py プロジェクト: uravgkarthik/mcrouter
 def setUp(self):
     self.server = self.add_server(CustomErrorServer())
     self.mcrouter = self.add_mcrouter(self.config,
                                       extra_args=self.extra_args)
コード例 #4
0
 def setUp(self):
     self.add_server(CustomErrorServer(len('test_error'), 'ERROR\r\nEND'))
     self.mcrouter = self.add_mcrouter(self.config,
                                       extra_args=self.extra_args)
コード例 #5
0
 def setUp(self):
     self.mc = self.add_server(CustomErrorServer(error_message=self.error))
     extra_args = ['--disable-miss-on-arith-errors']
     self.mcrouter = self.add_mcrouter(self.config, extra_args=extra_args)