Skip to content

Conversation

@fcecin
Copy link
Contributor

@fcecin fcecin commented Dec 8, 2025

Description

Messaging tests (such as tests/waku_archive/test_driver_postgres_query.nim) can temporarily fail if a new partition in the DB is not created in time. This is ̶v̶e̶r̶y̶ ̶d̶i̶f̶f̶i̶c̶u̶l̶t̶ ̶t̶o̶ ̶r̶e̶p̶r̶o̶d̶u̶c̶e̶ unlikely happen when running the test suite, but it can happen (the insert can jump ahead of the partition creation by a few milliseconds).

Changes

The proposal in this PR is to just simply and inexpensively retry PostgresDriver.put five times for a second before failing the operation.

Issue

Maintenance Y2025H2 #3483

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

This PR may contain changes to database schema of one of the drivers.

If you are introducing any changes to the schema, make sure the upgrade from the latest release to this change passes without any errors/issues.

Please make sure the label release-notes is added to make sure upgrade instructions properly highlight this change.

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:3659

Built from a96d1f2

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

Successfully merging this pull request may close these issues.

2 participants