Skip to content

Spanner: 'test_reload_instance' systest flakes. #8139

@tseaver

Description

@tseaver

From this Kokoto run

self = <tests.system.test_system.TestInstanceAdminAPI testMethod=test_reload_instance>
    def test_reload_instance(self):
        # Use same arguments as Config.INSTANCE (created in `setUpModule`)
        # so we can use reload() on a fresh instance.
        instance = Config.CLIENT.instance(INSTANCE_ID)
        # Make sure metadata unset before reloading.
        instance.display_name = None
        instance.reload()
>       self.assertEqual(instance.display_name, Config.INSTANCE.display_name)
E       AssertionError: 'GCP System Tests' != 'Foo Bar Baz'
E       - GCP System Tests
E + Foo Bar Baz

Maybe somebody tweaked the title in the console while the test was running? Because it is "Foo Bar Baz" now.

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the Spanner API.flakytestingtype: processA process-related concern. May include testing, release, or the like.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions