示例#1
0
    def __init__(self,
                 step_names,
                 minimum_count=5,
                 combine_results=True,
                 **kwargs):
        """Initializes the PerfCountNotifier on tests starting with test_name.

    Args:
      step_names: List of perf steps names. This is needed to know perf steps
          from other steps especially when the step is successful.
      minimum_count: The number of minimum consecutive (REGRESS|IMPROVE) needed
          to notify.
      combine_results: Combine summary results email for all builders in one.
    """
        # Set defaults.
        ChromiumNotifier.__init__(self, **kwargs)

        self.minimum_count = minimum_count
        self.combine_results = combine_results
        self.step_names = step_names
        self.recent_results = None
        self.error_email = False
        self.new_email_results = {}
        self.recent_results = FailuresHistory(expiration_time=_EXPIRATION_TIME,
                                              size_limit=1000)
示例#2
0
    def __init__(self, step_names, minimum_count=5, **kwargs):
        """Initializes the PerfCountNotifier on tests starting with test_name.

    Args:
      step_names: List of perf steps names. This is needed to know perf steps
          from other steps especially when the step is successful.
      minimum_count: The number of minimum consecutive (REGRESS|IMPROVE) needed
          to notify.
    """
        # Set defaults.
        ChromiumNotifier.__init__(self, **kwargs)

        self.minimum_count = minimum_count
        self.step_names = step_names
        self.recent_results = None
        self._InitRecentResults()
        self.notifications = FailuresHistory(expiration_time=_EXPIRATION_TIME,
                                             size_limit=1000)
示例#3
0
  def __init__(self, step_names, minimum_count=5, combine_results=True,
               **kwargs):
    """Initializes the PerfCountNotifier on tests starting with test_name.

    Args:
      step_names: List of perf steps names. This is needed to know perf steps
          from other steps especially when the step is successful.
      minimum_count: The number of minimum consecutive (REGRESS|IMPROVE) needed
          to notify.
      combine_results: Combine summary results email for all builders in one.
    """
    # Set defaults.
    ChromiumNotifier.__init__(self, **kwargs)

    self.minimum_count = minimum_count
    self.combine_results = combine_results
    self.step_names = step_names
    self.recent_results = None
    self.error_email = False
    self.new_email_results = {}
    self.recent_results = FailuresHistory(expiration_time=_EXPIRATION_TIME,
                                          size_limit=1000)
 def __init__(self, **kwargs):
   """Constructor just passes through.  """
   ChromiumNotifier.__init__(self, **kwargs)
示例#5
0
 def __init__(self, **kwargs):
     """Constructor just passes through.  """
     ChromiumNotifier.__init__(self, **kwargs)