8000 Bigtable system test has a "race condition" if run simultaneously on same project · Issue #3333 · googleapis/google-cloud-python · GitHub
[go: up one dir, main page]

< 8000 a href="#start-of-content" data-skip-target-assigned="false" class="px-2 py-4 color-bg-accent-emphasis color-fg-on-emphasis show-on-focus js-skip-to-content">Skip to content

Bigtable system test has a "race condition" if run simultaneously on same project #3333

@dhermes

Description

@dhermes

Two builds (1682 and 1683) were happening simultaneously and this caused a Bigtable system test check to fail in the second build (1683)

>       self.assertEqual(len(instances), len(EXISTING_INSTANCES) + 1)
E       AssertionError: 2 != 3

This is because EXISTING_INSTANCES is set at module setup time while the test case is run later.

I'm not sure what a realistic fix should be?

Metadata

Metadata

Labels

api: bigtableIssues related to the Bigtable API.priority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0