Skip to content

Commit

Permalink
suppress for simple lines
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun committed Mar 19, 2024
1 parent 40bda47 commit 390bbd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 90 deletions.
96 changes: 6 additions & 90 deletions ingester-protocol/src/test/java/io/greptime/WriteClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,96 +100,12 @@ public void testWriteSuccess() throws ExecutionException, InterruptedException {
Table table = Table.from(schema);
long ts = System.currentTimeMillis();

Object[] row1 = new Object[] {
"tag1",
ts,
1,
2,
3,
4L,
5,
6,
7,
8L,
0.9F,
0.10D,
true,
new byte[0],
13L,
14L,
15L,
16L,
17L,
18L,
19L,
20L,
21L,
22L,
23,
24L,
new IntervalMonthDayNano(1, 2, 3),
BigDecimal.valueOf(123.456)
};
Object[] row2 = new Object[] {
"tag2",
ts,
1,
2,
3,
4L,
5,
6,
7,
8L,
0.9F,
0.10D,
true,
new byte[0],
13L,
14L,
15L,
16L,
17L,
18L,
19L,
20L,
21L,
22L,
23,
24L,
new IntervalMonthDayNano(4, 5, 6),
BigDecimal.valueOf(123.456)
};
Object[] row3 = new Object[] {
"tag3",
ts,
1,
2,
3,
4L,
5,
6,
7,
8L,
0.9F,
0.10D,
true,
new byte[0],
13L,
14L,
15L,
16L,
17L,
18L,
19L,
20L,
21L,
22L,
23,
24L,
new IntervalMonthDayNano(7, 8, 9),
BigDecimal.valueOf(123.456)
};
// spotless:off
Object[] row1 = new Object[]{"tag1", ts, 1, 2, 3, 4L, 5, 6, 7, 8L, 0.9F, 0.10D, true, new byte[0], 13L, 14L, 15L, 16L, 17L, 18L, 19L, 20L, 21L, 22L, 23, 24L, new IntervalMonthDayNano(1, 2, 3), BigDecimal.valueOf(123.456)};
Object[] row2 = new Object[]{"tag2", ts, 1, 2, 3, 4L, 5, 6, 7, 8L, 0.9F, 0.10D, true, new byte[0], 13L, 14L, 15L, 16L, 17L, 18L, 19L, 20L, 21L, 22L, 23, 24L, new IntervalMonthDayNano(4, 5, 6), BigDecimal.valueOf(123.456)};
Object[] row3 = new Object[]{"tag3", ts, 1, 2, 3, 4L, 5, 6, 7, 8L, 0.9F, 0.10D, true, new byte[0], 13L, 14L, 15L, 16L, 17L, 18L, 19L, 20L, 21L, 22L, 23, 24L, new IntervalMonthDayNano(7, 8, 9), BigDecimal.valueOf(123.456)};
// spotless:on

table.addRow(row1);
table.addRow(row2);
table.addRow(row3);
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
<spaces>true</spaces>
<spacesPerTab>4</spacesPerTab>
</indent>
<toggleOffOn/>
</java>
</configuration>
</plugin>
Expand Down

0 comments on commit 390bbd3

Please sign in to comment.