diff options
author | Jose <jose@zeroc.com> | 2019-06-19 22:29:57 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-06-19 22:31:38 +0200 |
commit | f04bebb314b5decbe41d198bba35cd5d3299bce2 (patch) | |
tree | 3bcbaac49cc2d7972fc1a2372a089b06dcd26134 | |
parent | Fix iOS release build failure (diff) | |
download | ice-f04bebb314b5decbe41d198bba35cd5d3299bce2.tar.bz2 ice-f04bebb314b5decbe41d198bba35cd5d3299bce2.tar.xz ice-f04bebb314b5decbe41d198bba35cd5d3299bce2.zip |
Ice/ami test workaround
-rw-r--r-- | swift/test/Ice/ami/AllTests.swift | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/swift/test/Ice/ami/AllTests.swift b/swift/test/Ice/ami/AllTests.swift index d4c262dcdde..216e77e64e2 100644 --- a/swift/test/Ice/ami/AllTests.swift +++ b/swift/test/Ice/ami/AllTests.swift @@ -307,9 +307,7 @@ func allTests(_ helper: TestHelper, collocated: Bool = false) throws { // do { try test(p.opBatchCount() == 0) - let b1 = try uncheckedCast(prx: p.ice_getConnection()!.createProxy(p.ice_getIdentity()), - type: TestIntfPrx.self).ice_batchOneway() - + let b1 = try p.ice_fixed(p.ice_getConnection()!).ice_batchOneway() let con = try p.ice_connectionId("2").ice_getConnection()! let b2 = try uncheckedCast(prx: con.createProxy(p.ice_getIdentity()), type: TestIntfPrx.self).ice_batchOneway() @@ -338,8 +336,7 @@ func allTests(_ helper: TestHelper, collocated: Bool = false) throws { // Exceptions should not be reported. // try test(p.opBatchCount() == 0) - let b1 = try uncheckedCast(prx: p.ice_getConnection()!.createProxy(p.ice_getIdentity()), - type: TestIntfPrx.self).ice_batchOneway() + let b1 = try p.ice_fixed(p.ice_getConnection()!).ice_batchOneway() let con = try p.ice_connectionId("2").ice_getConnection()! let b2 = try uncheckedCast(prx: con.createProxy(p.ice_getIdentity()), @@ -366,8 +363,7 @@ func allTests(_ helper: TestHelper, collocated: Bool = false) throws { // The sent callback should be invoked even if all connections fail. // try test(p.opBatchCount() == 0) - let b1 = try uncheckedCast(prx: p.ice_getConnection()!.createProxy(p.ice_getIdentity()), - type: TestIntfPrx.self).ice_batchOneway() + let b1 = try p.ice_fixed(p.ice_getConnection()!).ice_batchOneway() let con = try p.ice_connectionId("2").ice_getConnection()! let b2 = try uncheckedCast(prx: con.createProxy(p.ice_getIdentity()), |