Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flaky test failures #14

Closed
bnewbold opened this issue Feb 12, 2023 · 2 comments
Closed

flaky test failures #14

bnewbold opened this issue Feb 12, 2023 · 2 comments
Assignees

Comments

@bnewbold
Copy link
Collaborator

I've seen some occasional test failures recently, both locally and in CI. Re-running usually fixes. I didn't capture a link or output until just now. The output is very verbose, below is just the snip at the end.

2023/02/11 21:16:56 /home/bnewbold/code/indigo/indexer/indexer.go:569 record not found
[0.047ms] [rows:0] SELECT * FROM `pds` WHERE id = 0 AND `pds`.`deleted_at` IS NULL ORDER BY `pds`.`id` LIMIT 1
2023-02-11T21:16:56.079-0800	ERROR	indexer	indexer/crawler.go:157	failed to perform repo crawl of "did:plc:4475991f29aeeeee": expected to find pds record in db for crawling one of their users: record not found

2023/02/11 21:16:56 /home/bnewbold/code/indigo/indexer/indexer.go:528 record not found
[0.313ms] [rows:0] SELECT * FROM `feed_posts` WHERE (rkey = "3jojbfhdi34m" AND author = (SELECT `id` FROM `actor_infos` WHERE did = "did:plc:5b48e5c9059a135b" AND `actor_infos`.`deleted_at` IS NULL)) AND `feed_posts`.`deleted_at` IS NULL ORDER BY `feed_posts`.`id` LIMIT 1
--- FAIL: TestBGSMultiGap (0.42s)
    integ_test.go:190: record not found
FAIL
FAIL	github.com/bluesky-social/indigo/testing	5.778s
@bnewbold
Copy link
Collaborator Author

@bnewbold
Copy link
Collaborator Author

These have not hit me in a while, going to close this now, but can re-open if they crop back up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants