Skip to content

Commit 51805e7

Browse files
authored
Remove unused table added by mistake from integration test (#2478)
1 parent 76ea0a4 commit 51805e7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

integration-test/src/main/java/com/scalar/db/api/DistributedTransactionIntegrationTestBase.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ public abstract class DistributedTransactionIntegrationTestBase {
6767

6868
protected static final String NAMESPACE_BASE_NAME = "int_test_";
6969
protected static final String TABLE = "test_table";
70-
protected static final String TABLE_2 = "test_table_2";
7170
protected static final String ACCOUNT_ID = "account_id";
7271
protected static final String ACCOUNT_TYPE = "account_type";
7372
protected static final String BALANCE = "balance";
@@ -138,7 +137,6 @@ private void createTables() throws ExecutionException {
138137
admin.createCoordinatorTables(true, options);
139138
admin.createNamespace(namespace, true, options);
140139
admin.createTable(namespace, TABLE, tableMetadata.build(), true, options);
141-
admin.createTable(namespace, TABLE_2, tableMetadata.build(), true, options);
142140
}
143141

144142
protected Map<String, String> getCreationOptions() {
@@ -148,7 +146,6 @@ protected Map<String, String> getCreationOptions() {
148146
@BeforeEach
149147
public void setUp() throws Exception {
150148
admin.truncateTable(namespace, TABLE);
151-
admin.truncateTable(namespace, TABLE_2);
152149
admin.truncateCoordinatorTables();
153150
}
154151

@@ -179,7 +176,6 @@ public void afterAll() throws Exception {
179176

180177
private void dropTables() throws ExecutionException {
181178
admin.dropTable(namespace, TABLE);
182-
admin.dropTable(namespace, TABLE_2);
183179
admin.dropNamespace(namespace);
184180
admin.dropCoordinatorTables();
185181
}

0 commit comments

Comments
 (0)