Skip to content

Commit de39853

Browse files
authored
chore: fix GetActorEventsRaw tests (#6319)
1 parent 4d47058 commit de39853

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/tool/subcommands/api_cmd/api_compare_tests.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,8 @@ fn node_tests() -> Vec<RpcTest> {
654654
fn 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

Comments
 (0)