summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/interceptor/Client.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/interceptor/Client.cs')
-rw-r--r--csharp/test/Ice/interceptor/Client.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/csharp/test/Ice/interceptor/Client.cs b/csharp/test/Ice/interceptor/Client.cs
index 2345891a324..efdc4a6db83 100644
--- a/csharp/test/Ice/interceptor/Client.cs
+++ b/csharp/test/Ice/interceptor/Client.cs
@@ -114,6 +114,18 @@ namespace Ice
test(prx.amdAddWithRetry(33, 12) == 45);
test(interceptor.getLastOperation().Equals("amdAddWithRetry"));
test(interceptor.getLastStatus());
+
+ {
+ var ctx = new Dictionary<string, string>();
+ ctx.Add("retry", "yes");
+ for(int i = 0; i < 10; ++i)
+ {
+ test(prx.amdAdd(33, 12, ctx) == 45);
+ test(interceptor.getLastOperation().Equals("amdAdd"));
+ test(interceptor.getLastStatus());
+ }
+ }
+
output.WriteLine("ok");
output.Write("testing user exception... ");