Backup tests are flaky #83
Labels
api: spanner
Issues related to the googleapis/python-spanner API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
The Kokoro tests are often failing on backup tests for unrelated changes. There are two problems:
UpdateBackup
sometimes times out with DEADLINE_EXCEEDED as seen in spanner.cloud-client.backup_sample_test: test_update_backup failed GoogleCloudPlatform/python-docs-samples#3241test_list_backups
is failing due to a backup from a different test being included in the returned list forsize_bytes
The first problem can be resolved by increasing the timeout for
UpdateBackup
.The second problem is difficult to replicate and the exact cause is unclear given that the tests are not run in parallel and the backups are being deleted at the end of each test. The simplest solution will be to modify the test to ensure that no backups from previous tests meet the condition.
The text was updated successfully, but these errors were encountered: