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

TestCreateServer is flaky in GH CI #184

Open
mkysel opened this issue Oct 1, 2024 · 0 comments
Open

TestCreateServer is flaky in GH CI #184

mkysel opened this issue Oct 1, 2024 · 0 comments

Comments

@mkysel
Copy link
Contributor

mkysel commented Oct 1, 2024

https://github.com/xmtp/xmtpd/actions/runs/11128614185/job/30923756881?pr=182

=== RUN   TestCreateServer
2024-10-01T15:33:09.606Z	INFO	server/server.go:96	Replication server started	{"port": 0}
2024-10-01T15:33:09.606Z	INFO	api	api/server.go:95	serving grpc	{"address": "[::]:43099"}
2024-10-01T15:33:09.610Z	INFO	server/server.go:96	Replication server started	{"port": 0}
2024-10-01T15:33:09.610Z	INFO	api	api/server.go:95	serving grpc	{"address": "[::]:[377](https://github.com/xmtp/xmtpd/actions/runs/11128614185/job/30923756881?pr=182#step:7:378)69"}
2024-10-01T15:33:09.667Z	ERROR	db/subscription.go:91	Error querying for DB subscription: failed to connect to `user=postgres database=test_dvqaoictdikq`: 127.0.0.1:8765 (localhost): server error: FATAL: database "test_dvqaoictdikq" does not exist (SQLSTATE 3D000)	{"method": "publishWorker", "lastSeen": 0, "numRows": 100}
github.com/xmtp/xmtpd/pkg/db.(*DBSubscription[...]).poll
	/home/runner/work/xmtpd/xmtpd/pkg/db/subscription.go:91
github.com/xmtp/xmtpd/pkg/db.(*DBSubscription[...]).Start.func1
	/home/runner/work/xmtpd/xmtpd/pkg/db/subscription.go:63
--- PASS: TestCreateServer (0.29s)

The test passes regardless which is weird.

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

1 participant