Title: Bigtable system test has a "race condition" if run simultaneously on same project · Issue #3333 · googleapis/google-cloud-python · GitHub
Open Graph Title: Bigtable system test has a "race condition" if run simultaneously on same project · Issue #3333 · googleapis/google-cloud-python
X Title: Bigtable system test has a "race condition" if run simultaneously on same project · Issue #3333 · googleapis/google-cloud-python
Description: 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 bec...
Open Graph Description: 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) +...
X Description: 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...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/3333
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bigtable system test has a \"race condition\" if run simultaneously on same project","articleBody":"Two builds ([1682][1] and [1683][2]) were happening simultaneously and this caused a [Bigtable system test check][3] to fail in the second build (1683)\r\n\r\n```python \r\n\u003e self.assertEqual(len(instances), len(EXISTING_INSTANCES) + 1)\r\nE AssertionError: 2 != 3\r\n```\r\n\r\nThis is because `EXISTING_INSTANCES` is set at module setup time while the test case is run later.\r\n\r\nI'm not sure what a realistic fix should be?\r\n\r\n[1]: https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/1682\r\n[2]: https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/1683\r\n[3]: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/ce043bba2883588a89b5c4c9ad34c2af64287d5e/bigtable/tests/system.py#L145","author":{"url":"https://github.com/dhermes","@type":"Person","name":"dhermes"},"datePublished":"2017-04-27T17:46:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/3333/google-cloud-python/issues/3333"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a0b4eeda-970c-d710-70ce-8f9063fa1470 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E162:8F52B:26F23C:37C705:6A4E68B0 |
| html-safe-nonce | cf6a81ed6dabfae456835722576f256936a188e71e02b16d38f48618025d2841 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTYyOjhGNTJCOjI2RjIzQzozN0M3MDU6NkE0RTY4QjAiLCJ2aXNpdG9yX2lkIjoiODQzMzY3NTQxMDMxOTg3Mzc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8a697d59ff2eaed00ab7dc8388a346793348b2220f409889f61bc7ac7118fedb |
| hovercard-subject-tag | issue:224861785 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/3333/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e3b7b4850d2b6b2d988620461da44f08e6f087a6dfb23f621046d311472e74f3/googleapis/google-cloud-python/issues/3333 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e3b7b4850d2b6b2d988620461da44f08e6f087a6dfb23f621046d311472e74f3/googleapis/google-cloud-python/issues/3333 |
| og:image:alt | 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) +... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dhermes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width