<commit_before>package io.buoyant.consul.v1

import com.twitter.finagle.Service
import com.twitter.finagle.http.{Response, Request}
import com.twitter.io.Buf
import com.twitter.util.Future
import io.buoyant.consul.UnexpectedResponse
import io.buoyant.test.Awaits
import org.scalatest.FunSuite

class ApiTest extends FunSuite with Awaits {
  val datacentersBuf = Buf.Utf8("""["dc1", "dc2"]""")
  val nodesBuf = Buf.Utf8("""[{"Node":"Sarahs-MBP-2","Address":"192.168.1.37","ServiceID":"hosted_web","ServiceName":"hosted_web","ServiceTags":["master"],"ServiceAddress":"","ServicePort":8084}]""")
  val mapBuf = Buf.Utf8("""{"consul":[],"hosted_web":["master"],"redis":[]}""")
  var lastUri = ""<commit_msg>Increase the timeout in consul's ApiTest from 250ms to 2s<commit_after>package io.buoyant.consul.v1

import com.twitter.conversions.time._
import com.twitter.finagle.Service
import com.twitter.finagle.http.{Response, Request}
import com.twitter.io.Buf
import com.twitter.util.Future
import io.buoyant.consul.UnexpectedResponse
import io.buoyant.test.Awaits
import org.scalatest.FunSuite

class ApiTest extends FunSuite with Awaits {
  val datacentersBuf = Buf.Utf8("""["dc1", "dc2"]""")
  val nodesBuf = Buf.Utf8("""[{"Node":"Sarahs-MBP-2","Address":"192.168.1.37","ServiceID":"hosted_web","ServiceName":"hosted_web","ServiceTags":["master"],"ServiceAddress":"","ServicePort":8084}]""")
  val mapBuf = Buf.Utf8("""{"consul":[],"hosted_web":["master"],"redis":[]}""")
  var lastUri = ""

  override val defaultWait = 2.seconds
{'fraction_non_alphanumeric': 0.19044502617801048, 'fraction_numerical': 0.029450261780104712, 'mean_word_length': 7.08994708994709, 'pattern_counts': {'":': 20, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2008971', 'n_tokens_mistral': 571, 'n_tokens_neox': 541, 'n_words': 85}