Skip to content

Commit

Permalink
DBZ-7265 Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jpechane committed Jun 6, 2024
1 parent 1caaa89 commit 492e4d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ protected List<SchemaAndValueField> schemasAndValuesForStringTypesTruncatedBlob(
new SchemaAndValueField("binary_col", SchemaBuilder.bytes().optional()
.parameter("truncateLength", "1").build(), byteBufferTruncatedBinary),
new SchemaAndValueField("varbinary_col", SchemaBuilder.bytes().optional()
.parameter("truncateLength", "1").build(), byteBufferTruncatedVarBinary)
));
.parameter("truncateLength", "1").build(), byteBufferTruncatedVarBinary)));
return fields;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,13 @@ public void shouldTruncateByteArray() throws Exception {

TestHelper.executeDDL("vitess_create_tables.ddl");
startConnector(builder -> builder.with(
"column.truncate.to.1.chars",
TEST_UNSHARDED_KEYSPACE + ".string_table.blob_col,"
"column.truncate.to.1.chars",
TEST_UNSHARDED_KEYSPACE + ".string_table.blob_col,"
+ TEST_UNSHARDED_KEYSPACE + ".string_table.mediumblob_col,"
+ TEST_UNSHARDED_KEYSPACE + ".string_table.longblob_col,"
+ TEST_UNSHARDED_KEYSPACE + ".string_table.varbinary_col,"
+ TEST_UNSHARDED_KEYSPACE + ".string_table.binary_col"
), false,
+ TEST_UNSHARDED_KEYSPACE + ".string_table.binary_col"),
false,
false, 1, -1, -1, null,
VitessConnectorConfig.SnapshotMode.NEVER, "");
assertConnectorIsRunning();
Expand Down

0 comments on commit 492e4d1

Please sign in to comment.