Skip to content

feature_notifications.py cirrus test failure: IndexError: string index out of range #21683

@jonatack

Description

@jonatack

https://cirrus-ci.com/task/5589966861369344

self.expect_wallet_notify([(bump2, blockheight2, blockhash2), (tx2, -1, UNCONFIRMED_HASH_STRING)])
File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-i686-pc-linux-gnu/
      test/functional/feature_notifications.py", line 172, in expect_wallet_notify
assert_equal(text[-1], '\n')
IndexError: string index out of range

Could not reproduce locally.

This is a recent change (March 15, 2021) from 06e1fb0 in #21141.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions