Skip to content

Create an integration test to verify CreateSnapshot/CreateTableFromSnapshot work. #1053

Closed

Description

@coryan

We need an integration test for CreateSnapshot and CreateTableFromSnapshot. This should create a table, write some data to it, then create a snapshot, create a new table with the snapshot.

In production we should be able to check that the schema and contents match, but I do not know if that is possible using the emulator.

Activity

  1. manish-qlogic commented on Sep 2, 2018

    @manish-qlogic
    Contributor

    but I do not know if that is possible using the emulator.

    snapshottable does not work with emulator, it throws following error
    2018/09/02 20:20:59 Failed to create Snapshot: rpc error: code = Unavailable desc = transport is closing

    Emulator logs suggests SIGSEGV

    panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x78 pc=0x7d0663]
    

    so, submitted the code that runs against production but does not run against emulator.

  2. coryan commented on Sep 4, 2018

    @coryan
    ContributorAuthor

    I verified this problem and created googleapis/google-cloud-go#1135, meanwhile, please disable the integration test when running against the emulator (leave it there so we can run it manually against production). Add a TODO referencing #151.

  3. added a commit that references this issue on Sep 5, 2018
  4. coryan commented on Sep 5, 2018

    @coryan
    ContributorAuthor

    This was fixed by #1079.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: bigtableIssues related to the Bigtable API.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions