Skip to content

blobInfo.equals(BlobInfo.fromPb(blobInfo.toPb())) return false #184

Description

@mziccard

While testing StorageImpl I noticed that:

BlobInfo blobInfo = BlobInfo.of("b", "n");
assertEquals(blobInfo, BlobInfo.fromPb(blobInfo.toPb()));

Was failing.
Same problem also occurs with BucketInfo.
In BucketInfo the fromPb method also throws NPE under some circumstances:

BucketInfo bucketInfo = BucketInfo.of("b");
BucketInfo.fromPb(bucketInfo.toPb());

Activity

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

Metadata

Metadata

Labels

🚨 criticalP0 critical issue. Requires immediate fixtriage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions