Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit 07f0688

Browse files
committed
fix more tests
1 parent e97801b commit 07f0688

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/UpdateSchemaBundleRequestTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ public void testToProto() throws IOException, URISyntaxException {
7171
@Test
7272
public void testUpdateProtoSchema() throws IOException, URISyntaxException {
7373
byte[] content = Files.readAllBytes(Paths.get(getResourceFilePath(TEST_PROTO_SCHEMA_BUNDLE)));
74+
byte[] updated_content =
75+
Files.readAllBytes(Paths.get(getResourceFilePath(TEST_UPDATED_PROTO_SCHEMA_BUNDLE)));
7476

7577
com.google.bigtable.admin.v2.SchemaBundle existingSchemaBundle =
7678
com.google.bigtable.admin.v2.SchemaBundle.newBuilder()
@@ -92,7 +94,8 @@ public void testUpdateProtoSchema() throws IOException, URISyntaxException {
9294
.setSchemaBundle(
9395
existingSchemaBundle.toBuilder()
9496
.setProtoSchema(
95-
ProtoSchema.newBuilder().setProtoDescriptors(ByteString.copyFrom(content))))
97+
ProtoSchema.newBuilder()
98+
.setProtoDescriptors(ByteString.copyFrom(updated_content))))
9699
.setUpdateMask(FieldMask.newBuilder().addPaths("proto_schema"))
97100
.build();
98101
assertThat(request.toProto(PROJECT_ID, INSTANCE_ID)).isEqualTo(requestProto);

0 commit comments

Comments
 (0)