def GetTcpReceiveTimeMs(self, num_bytes):

    with self.tcp_socket_creator as s:
      s.sendall('%s%s\n' % (RESPONSE_SIZE_KEY, num_bytes))
      # TODO(slamm): Figure out why partial is shutdown needed to make it work.
      s.shutdown(socket.SHUT_WR)
      num_remaining_bytes = num_bytes
      read_time = None
      while num_remaining_bytes > 0:
        response_data = s.recv(4096)
        num_remaining_bytes -= len(response_data)
        if not read_time:
          read_time, padding = response_data.split('\n')
    return GetElapsedMs(read_time, self.timer())
Assert that the index is unique
dataset/ETHPy150Open chromium/web-page-replay/trafficshaper_test.py/TcpTrafficShaperTest.GetTcpReceiveTimeMs--crossover with--dataset/ETHPy150Open TomAugspurger/engarde/engarde/checks.py/unique_index