def METHOD_NAME(self):
    """
    Scenarios which trigger the min/max CPU caveat.
    Note: --n-threads is present to suppress the threading
          caveat for more accurate caveat detection.
    """
    # Test MIN CPUs / Oversized caveat using soft limit (no -j) on a test
    # having a minimum cpu parameter of 2.
    output = self.runTests('-i', 'allocation_test', '--n-threads', '2').decode('utf-8')
    self.assertNotIn('MIN_THREADS', output)
    self.assertIn('MIN_CPUS=2', output)
    self.assertIn('OVERSIZED', output)
    # Test MAX CPUs / Oversized caveat on a test having a maximum cpu
    # parameter of 3 (and we subjected it to 4).
    output = self.runTests('-i', 'allocation_test', '-p', '4', '--n-threads', '2').decode('utf-8')
    self.assertNotIn('MIN_THREADS', output)
    self.assertIn('MAX_CPUS=3', output)
    self.assertIn('OVERSIZED', output)