skip: testcase

This commit is contained in:
anshalshukla 2024-09-04 10:52:11 +05:30
parent cec3ee18d8
commit 693d8aebcd
No known key found for this signature in database
GPG key ID: 84BE5474523D8CBC
2 changed files with 3 additions and 1 deletions

View file

@ -265,7 +265,7 @@ func NewEventSystem(sys *FilterSystem) *EventSystem {
m.stateSyncSub = m.backend.SubscribeStateSyncEvent(m.stateSyncCh)
// Make sure none of the subscriptions are empty
if m.txsSub == nil || m.logsSub == nil || m.rmLogsSub == nil || m.chainSub == nil {
if m.txsSub == nil || m.logsSub == nil || m.rmLogsSub == nil || m.chainSub == nil || m.pendingLogsSub == nil {
log.Crit("Subscribe for event system failed")
}
@ -458,6 +458,7 @@ func (es *EventSystem) eventLoop() {
defer func() {
es.txsSub.Unsubscribe()
es.logsSub.Unsubscribe()
es.pendingLogsSub.Unsubscribe()
es.rmLogsSub.Unsubscribe()
es.chainSub.Unsubscribe()
es.stateSyncSub.Unsubscribe()

View file

@ -46,6 +46,7 @@ var (
)
func TestOfflineBlockPrune(t *testing.T) {
t.Skip("PBSS does not support ancient block pruning")
t.Parallel()
// Corner case for 0 remain in ancinetStore.