diff options
author | Jose <jose@zeroc.com> | 2016-03-21 23:09:39 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-03-21 23:09:39 +0100 |
commit | 91df4c9e78296e92533b4086ac56eeae19b44ff1 (patch) | |
tree | daa1c7a928658528d7d66ad86bcd025bd72efee9 /csharp/test | |
parent | Linux expected statcktrace fixes (diff) | |
download | ice-91df4c9e78296e92533b4086ac56eeae19b44ff1.tar.bz2 ice-91df4c9e78296e92533b4086ac56eeae19b44ff1.tar.xz ice-91df4c9e78296e92533b4086ac56eeae19b44ff1.zip |
Trace unexpected exception in faultTolerance test
Diffstat (limited to 'csharp/test')
-rw-r--r-- | csharp/test/Ice/faultTolerance/AllTests.cs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/csharp/test/Ice/faultTolerance/AllTests.cs b/csharp/test/Ice/faultTolerance/AllTests.cs index be7f743bde2..f439173202e 100644 --- a/csharp/test/Ice/faultTolerance/AllTests.cs +++ b/csharp/test/Ice/faultTolerance/AllTests.cs @@ -76,6 +76,7 @@ public class AllTests : TestCommon.TestApp } catch(Exception) { + WriteLine(ex.ToString()); test(false); } } @@ -114,14 +115,14 @@ public class AllTests : TestCommon.TestApp Ice.ObjectPrx basePrx = communicator.stringToProxy(refString); test(basePrx != null); WriteLine("ok"); - + Write("testing checked cast... "); Flush(); TestIntfPrx obj = TestIntfPrxHelper.checkedCast(basePrx); test(obj != null); test(obj.Equals(basePrx)); WriteLine("ok"); - + if(IceInternal.AssemblyUtil.runtime_ == IceInternal.AssemblyUtil.Runtime.Mono) { WriteLine(""); @@ -164,6 +165,7 @@ public class AllTests : TestCommon.TestApp }, (Ice.Exception ex) => { + WriteLine(ex.ToString()); test(false); }); cb.check(); @@ -171,7 +173,7 @@ public class AllTests : TestCommon.TestApp WriteLine("ok"); oldPid = pid; } - + if(j == 0) { if(!ami) @@ -192,6 +194,7 @@ public class AllTests : TestCommon.TestApp }, (Ice.Exception ex) => { + WriteLine(ex.ToString()); test(false); }); cb.check(); @@ -290,7 +293,7 @@ public class AllTests : TestCommon.TestApp Debug.Assert(false); } } - + Write("testing whether all servers are gone... "); Flush(); try |