@@ -654,7 +654,8 @@ fn node_tests() -> Vec<RpcTest> {
654654fn event_tests_with_tipset < DB : Blockstore > ( _store : & Arc < DB > , tipset : & Tipset ) -> Vec < RpcTest > {
655655 let epoch = tipset. epoch ( ) ;
656656 vec ! [
657- RpcTest :: identity( GetActorEventsRaw :: request( ( None , ) ) . unwrap( ) ) ,
657+ RpcTest :: identity( GetActorEventsRaw :: request( ( None , ) ) . unwrap( ) )
658+ . policy_on_rejected( PolicyOnRejected :: PassWithQuasiIdenticalError ) ,
658659 RpcTest :: identity(
659660 GetActorEventsRaw :: request( ( Some ( ActorEventFilter {
660661 addresses: vec![ ] ,
@@ -665,6 +666,7 @@ fn event_tests_with_tipset<DB: Blockstore>(_store: &Arc<DB>, tipset: &Tipset) ->
665666 } ) , ) )
666667 . unwrap( ) ,
667668 )
669+ . policy_on_rejected( PolicyOnRejected :: PassWithQuasiIdenticalError )
668670 . sort_policy( SortPolicy :: All ) ,
669671 RpcTest :: identity(
670672 GetActorEventsRaw :: request( ( Some ( ActorEventFilter {
@@ -676,6 +678,7 @@ fn event_tests_with_tipset<DB: Blockstore>(_store: &Arc<DB>, tipset: &Tipset) ->
676678 } ) , ) )
677679 . unwrap( ) ,
678680 )
681+ . policy_on_rejected( PolicyOnRejected :: PassWithQuasiIdenticalError )
679682 . sort_policy( SortPolicy :: All ) ,
680683 RpcTest :: identity(
681684 GetActorEventsRaw :: request( ( Some ( ActorEventFilter {
@@ -687,6 +690,7 @@ fn event_tests_with_tipset<DB: Blockstore>(_store: &Arc<DB>, tipset: &Tipset) ->
687690 } ) , ) )
688691 . unwrap( ) ,
689692 )
693+ . policy_on_rejected( PolicyOnRejected :: PassWithQuasiIdenticalError )
690694 . sort_policy( SortPolicy :: All ) ,
691695 RpcTest :: identity(
692696 GetActorEventsRaw :: request( ( Some ( ActorEventFilter {
@@ -702,6 +706,7 @@ fn event_tests_with_tipset<DB: Blockstore>(_store: &Arc<DB>, tipset: &Tipset) ->
702706 } ) , ) )
703707 . unwrap( ) ,
704708 )
709+ . policy_on_rejected( PolicyOnRejected :: PassWithQuasiIdenticalError )
705710 . sort_policy( SortPolicy :: All ) ,
706711 {
707712 use std:: collections:: BTreeMap ;
@@ -732,6 +737,7 @@ fn event_tests_with_tipset<DB: Blockstore>(_store: &Arc<DB>, tipset: &Tipset) ->
732737 } ) , ) )
733738 . unwrap( ) ,
734739 )
740+ . policy_on_rejected( PolicyOnRejected :: PassWithQuasiIdenticalError )
735741 . sort_policy( SortPolicy :: All )
736742 } ,
737743 ]
0 commit comments