You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: test/ts-scenario/features/base_api_v1.feature
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Scenario: Using only fabric-common V1 channel
38
38
And I regisister a transaction listener named myFilteredTransactionListener with myFilteredEventService for all transactions as client leon
39
39
When I create an event service myFullEventService as client leon on channel baseapichannel
40
40
And I regisister a block listener named myFullBlockListener with myFullEventService for startBlock 1 and endBlock 4 as client leon
41
-
And I regisister a chaincode listener named myFullChaincodeListener with myFullEventService for createCar event on contract fabcar as client leon
41
+
And I regisister a chaincode listener named myFullChaincodeListener with myFullEventService with a maximum event count of 3 as client leon for createCar event on contract fabcar
42
42
And I regisister a transaction listener named myFullTransactionListener with myFullEventService for all transactions as client leon
43
43
And I start the event service myFilteredEventService as filtered blocks to start at block 0 and end at block 4 as client leon
44
44
And I start the event service myFullEventService as full blocks to start at block 0 and end at block END as client leon
@@ -48,5 +48,6 @@ Scenario: Using only fabric-common V1 channel
48
48
Then the event listener myFilteredChaincodeListener of myFilteredEventService has results matching {"createCar":""} as client leon
49
49
Then the event listener myFilteredTransactionListener of myFilteredEventService has results matching {"transaction":"3"} as client leon
50
50
Then the event listener myFullBlockListener of myFullEventService has results matching {"block":"4"} as client leon
51
+
Then I wait for events from chaincode listener named myFullChaincodeListener with myFullEventService as client leon
51
52
Then the event listener myFullChaincodeListener of myFullEventService has results matching {"createCar":"Focus"} as client leon
52
53
Then the event listener myFullTransactionListener of myFullEventService has results matching {"transaction":"4"} as client leon
Copy file name to clipboardExpand all lines: test/ts-scenario/features/base_api_v2.feature
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Scenario: Using only fabric-common on V2 channel
50
50
And I regisister a transaction listener named myFilteredTransactionListener with myFilteredEventService for all transactions as client fred
51
51
When I create an event service myFullEventService as client fred on channel basev2channel
52
52
And I regisister a block listener named myFullBlockListener with myFullEventService for startBlock 1 and endBlock 4 as client fred
53
-
And I regisister a chaincode listener named myFullChaincodeListener with myFullEventService for createCar event on contract fabcar as client fred
53
+
And I regisister a chaincode listener named myFullChaincodeListener with myFullEventService with a maximum event count of 3 as client fred for createCar event on contract fabcar
54
54
And I regisister a transaction listener named myFullTransactionListener with myFullEventService for all transactions as client fred
55
55
And I start the event service myFilteredEventService as filtered blocks to start at block 0 and end at block 6 as client fred
56
56
And I start the event service myFullEventService as full blocks to start at block 0 and end at block END as client fred
@@ -60,6 +60,7 @@ Scenario: Using only fabric-common on V2 channel
60
60
Then the event listener myFilteredChaincodeListener of myFilteredEventService has results matching {"createCar":""} as client fred
61
61
Then the event listener myFilteredTransactionListener of myFilteredEventService has results matching {"transaction":"5"} as client fred
62
62
Then the event listener myFullBlockListener of myFullEventService has results matching {"block":"4"} as client fred
63
+
Then I wait for events from chaincode listener named myFullChaincodeListener with myFullEventService as client fred
63
64
Then the event listener myFullChaincodeListener of myFullEventService has results matching {"createCar":"Focus"} as client fred
64
65
Then the event listener myFullTransactionListener of myFullEventService has results matching {"transaction":"7"} as client fred
0 commit comments