Skip to content

Commit

Permalink
fix failed tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
  • Loading branch information
fatsheep9146 committed May 21, 2023
1 parent b39ba10 commit 45a26ea
Showing 1 changed file with 8 additions and 4 deletions.
Expand Up @@ -85,12 +85,16 @@ func TestClientStatsHandler(t *testing.T) {
},
eventsAttr: []map[attribute.Key]attribute.Value{
{
otelgrpc.RPCMessageTypeKey: attribute.StringValue("SENT"),
otelgrpc.RPCMessageIDKey: attribute.IntValue(1),
otelgrpc.RPCMessageTypeKey: attribute.StringValue("SENT"),
otelgrpc.RPCMessageIDKey: attribute.IntValue(1),
otelgrpc.RPCMessageCompressedSizeKey: attribute.IntValue(0),
otelgrpc.RPCMessageUncompressedSizeKey: attribute.IntValue(10),
},
{
otelgrpc.RPCMessageTypeKey: attribute.StringValue("RECEIVED"),
otelgrpc.RPCMessageIDKey: attribute.IntValue(1),
otelgrpc.RPCMessageTypeKey: attribute.StringValue("RECEIVED"),
otelgrpc.RPCMessageIDKey: attribute.IntValue(1),
otelgrpc.RPCMessageCompressedSizeKey: attribute.IntValue(0),
otelgrpc.RPCMessageUncompressedSizeKey: attribute.IntValue(10),
},
},
},
Expand Down

0 comments on commit 45a26ea

Please sign in to comment.