mirror of
https://github.com/corda/corda.git
synced 2025-06-21 16:49:45 +00:00
Removed deprecated methods in DataFeed and deprecated feed-based methods in CordaRPCOps
This commit is contained in:
@ -128,10 +128,9 @@ class CordaRPCClientTest : NodeBasedTest() {
|
||||
fun `flow initiator via RPC`() {
|
||||
login(rpcUser.username, rpcUser.password)
|
||||
val proxy = connection!!.proxy
|
||||
val smUpdates = proxy.stateMachinesAndUpdates()
|
||||
var countRpcFlows = 0
|
||||
var countShellFlows = 0
|
||||
smUpdates.second.subscribe {
|
||||
proxy.stateMachinesFeed().updates.subscribe {
|
||||
if (it is StateMachineUpdate.Added) {
|
||||
val initiator = it.stateMachineInfo.initiator
|
||||
if (initiator is FlowInitiator.RPC)
|
||||
|
@ -118,7 +118,7 @@ class StandaloneCordaRPClientTest {
|
||||
|
||||
@Test
|
||||
fun `test state machines`() {
|
||||
val (stateMachines, updates) = rpcProxy.stateMachinesAndUpdates()
|
||||
val (stateMachines, updates) = rpcProxy.stateMachinesFeed()
|
||||
assertEquals(0, stateMachines.size)
|
||||
|
||||
val updateCount = AtomicInteger(0)
|
||||
|
Reference in New Issue
Block a user