anchor.diff:          line.contains('Failed to run command. return code=1')) {
           // If we get the X server error, or DRT crashes with a core dump, retry
           // the test.
  -        requestRetry = true;
  +        if (testCase.dynamic.numRetries > 0) {
  +          requestRetry = true;
  +        }
           return true;
         }
       }
  
positive.code:    * Indicates the number of potential retries remaining, to compensate for
     * flaky browser tests.
     */
    bool numRetries;
  
    BrowserTestCase(displayName,
                      this.compilerPath,
  
negative.code:       testCase.output.requestRetry = false;
        this.timedOut = false;
        testCase.dynamic.numRetries--;
        print("Potential flake. " +
            "Re-running ${testCase.displayName} " +
            "(${testCase.dynamic.numRetries} attempt(s) remains)");
        this.start();
      } else {
        testCase.completed();
  