Skip to content

Commit 7710f04

Browse files
authored
Cherrypick #1485 for v2.41.x branch (#1486)
1 parent 565dede commit 7710f04

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/Grpc.Net.Client.Tests/AsyncUnaryCallTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,8 @@ public async Task AsyncUnaryCall_Success_HttpRequestMessagePopulated()
8181
Assert.AreEqual("grpc-dotnet", grpcVersion.Product?.Name);
8282
Assert.IsTrue(!string.IsNullOrEmpty(grpcVersion.Product?.Version));
8383

84-
// Santity check that the user agent doesn't have the git hash in it and isn't too long.
85-
// Sending a long user agent with each call has performance implications.
84+
// Sanity check that the user agent doesn't have the git hash in it.
8685
Assert.IsFalse(grpcVersion.Product!.Version!.Contains('+'));
87-
Assert.IsTrue(grpcVersion.Product!.Version!.Length <= 10);
8886
}
8987

9088
[Test]

0 commit comments

Comments
 (0)