mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[GH-ISSUE #247] A test in the CI fails randomly #84
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marioortizmanero on GitHub (Aug 31, 2021).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/247
Describe the bug
There's a test that fails randomly in the CI. It's not consistently reproducible.
See for example:
https://github.com/ramsayleung/rspotify/runs/3474418373
@marioortizmanero commented on GitHub (Aug 31, 2021):
This command can be used in order to eventually get the error:
while cargo test test_read_token_cache; do :; done@marioortizmanero commented on GitHub (Aug 31, 2021):
Well duh of course that tests fails; I don't even know how it was working in the first place. It was setting
Token::expires_attoUtc::now, so when reading token it was already expired and the function returnedNone.