Пример #1
0
 def setUp(self):
     self.as_super = super(IntegratedMongoConfTestCase, self)
     self.as_super.setUp()
     params.try_interval = 4
     params.times_to_try = 10
     # Configuring and Installing mongo config dependencies
     server = MongoConfigServer()
     server.my_hostname = 'node1.test.com'
     server.configure(self.env)
     server.install(self.env)
Пример #2
0
 def test_mongoconf_install(self):
     server = MongoConfigServer()
     server.my_hostname = 'node1.test.com'
     server.install(self.env)