Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Investigate undeleteTable IT flakiness #736

@stephaniewang526

Description

@stephaniewang526

A discrepancy between backend snapTime and our sample's System.currentTimeMillis() (

) when running the IT in Java 11 on Kokoro is causing persistent failures.

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}

full sponge log

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

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/java-bigquery API.priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions