aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-04-12 15:12:08 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-04-14 13:13:24 -0700
commit8c839e839b3624c9953b11b9a59b04276f40a0b9 (patch)
tree750a58a04870ee9eaaf2f7c0fbf7d26c10406d84 /src
parentc7d06383f12651e23e6a63f3afdfc3a03f41a82c (diff)
check for histogramParams presence
Diffstat (limited to 'src')
-rw-r--r--src/csharp/Grpc.IntegrationTesting/ClientRunners.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/ClientRunners.cs b/src/csharp/Grpc.IntegrationTesting/ClientRunners.cs
index f954ca5f34..b4572756f2 100644
--- a/src/csharp/Grpc.IntegrationTesting/ClientRunners.cs
+++ b/src/csharp/Grpc.IntegrationTesting/ClientRunners.cs
@@ -129,6 +129,7 @@ namespace Grpc.IntegrationTesting
public ClientRunnerImpl(List<Channel> channels, ClientType clientType, RpcType rpcType, int outstandingRpcsPerChannel, LoadParams loadParams, PayloadConfig payloadConfig, HistogramParams histogramParams)
{
GrpcPreconditions.CheckArgument(outstandingRpcsPerChannel > 0, "outstandingRpcsPerChannel");
+ GrpcPreconditions.CheckNotNull(histogramParams, "histogramParams");
this.channels = new List<Channel>(channels);
this.clientType = clientType;
this.rpcType = rpcType;