示例#1
0
    def tracker_store_testing_start(self, confdir=None, ontodir=None):
        """
        Stops any previous instance of the store, calls set_up_environment,
        and starts a new instances of the store
        """
        self.set_up_environment(confdir, ontodir)

        self.store = helpers.StoreHelper()
        self.store.start()
示例#2
0
    def tracker_miner_fs_testing_start(self, confdir=None):
        """
        Stops any previous instance of the store and miner, calls set_up_environment,
        and starts a new instance of the store and miner-fs
        """
        self.set_up_environment(confdir, None)

        # Start also the store. DBus autoactivation ignores the env variables.
        self.store = helpers.StoreHelper()
        self.store.start()

        self.extractor = helpers.ExtractorHelper()
        self.extractor.start()

        self.miner_fs = helpers.MinerFsHelper()
        self.miner_fs.start()