def METHOD_NAME(self, test_or_test_index):
    """Prevents from the test/test_index to be executed on the specific worker
    """
    test_index = self._test_or_index_to_index(test_or_test_index)
    if test_index in self._forced_tests:
        raise RuntimeError('Cannot exclude test_index {} for client {} since it has been forced before'.format(test_index,
                                                                                                   self._worker_id))
    if test_index in self._excluded_tests:
        _logger.warning('test_index {} already in exclude list for worker {}, not adding it', test_index, self._worker_id)
    else:
        self._excluded_tests.add(test_index)