This repository was archived by the owner on Mar 23, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 134
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
Investigate undeleteTable IT flakiness #736
Copy link
Copy link
Closed
Labels
api: bigqueryIssues related to the googleapis/java-bigquery API.Issues related to the googleapis/java-bigquery API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
A discrepancy between backend snapTime and our sample's System.currentTimeMillis() (
java-bigquery/samples/snippets/src/main/java/com/example/bigquery/UndeleteTable.java
Line 50 in 38c8716
| long snapTime = System.currentTimeMillis(); |
Error details:
BigQuery was unable to copy the table due to an error:
BigQueryError{reason=invalid, location=null, message=Invalid snapshot time 1600273978360 for table java-docs-samples-testing:bigquery_test_dataset.UNDELETE_TABLE_TEST_789cbad2@1600273978360. Cannot read before 1600273978399}
Note that this is not happening when running the IT locally and it consistently fails for Java 11 test on Kokoro. We may need to change local test env to Java 11 and see if we can repro this.
TODO: We need to revert this PR when this issues is fixed: #735
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: bigqueryIssues related to the googleapis/java-bigquery API.Issues related to the googleapis/java-bigquery API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.