<commit_before>package com.twitter.finagle.http2

import com.twitter.finagle.http.AbstractEndToEndTest
import com.twitter.finagle
import org.junit.runner.RunWith
import org.scalatest.junit.JUnitRunner

@RunWith(classOf[JUnitRunner])
class ClientFailUpgradeTest extends AbstractEndToEndTest {
  def clientImpl(): finagle.Http.Client =
    finagle.Http.client.configured(Http2)

  def serverImpl(): finagle.Http.Server =
    finagle.Http.server

  def featureImplemented(feature: Feature): Boolean = true
}<commit_msg>finagle-http2: Ban too long stream test<commit_after>package com.twitter.finagle.http2

import com.twitter.finagle.http.AbstractEndToEndTest
import com.twitter.finagle
import org.junit.runner.RunWith
import org.scalatest.junit.JUnitRunner

@RunWith(classOf[JUnitRunner])
class ClientFailUpgradeTest extends AbstractEndToEndTest {
  def clientImpl(): finagle.Http.Client =
    finagle.Http.client.configured(Http2)

  def serverImpl(): finagle.Http.Server =
    finagle.Http.server

  def featureImplemented(feature: Feature): Boolean = feature != TooLongStream
}
{'fraction_non_alphanumeric': 0.09461966604823747, 'fraction_numerical': 0.00463821892393321, 'mean_word_length': 5.872611464968153, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '833634', 'n_tokens_mistral': 335, 'n_tokens_neox': 329, 'n_words': 62}