(t *testing.T, conn net.Conn, req *agentproto.ReportBoundaryLogsRequest)
| 33 | } |
| 34 | |
| 35 | func sendBoundaryLogsRequest(t *testing.T, conn net.Conn, req *agentproto.ReportBoundaryLogsRequest) { |
| 36 | t.Helper() |
| 37 | |
| 38 | data, err := proto.Marshal(req) |
| 39 | require.NoError(t, err) |
| 40 | |
| 41 | err = codec.WriteFrame(conn, codec.TagV1, data) |
| 42 | require.NoError(t, err) |
| 43 | } |
| 44 | |
| 45 | // TestBoundaryLogs_EndToEnd is an end-to-end test that sends a protobuf |
| 46 | // message over the agent's unix socket (as boundary would) and verifies |
no test coverage detected