Skip to content

Commit

Permalink
Revert changes relating to TransactionTest
Browse files Browse the repository at this point in the history
  • Loading branch information
jduo committed Feb 9, 2024
1 parent a5aebc1 commit 25acfe3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 55 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void afterEach() throws Exception {
}

@Test
public void autoCommitByDefault() throws Exception {
void autoCommitByDefault() throws Exception {
assertAdbcException(assertThrows(AdbcException.class, () -> connection.commit()))
.isStatus(AdbcStatusCode.INVALID_STATE);
assertAdbcException(assertThrows(AdbcException.class, () -> connection.rollback()))
Expand All @@ -72,7 +72,7 @@ public void autoCommitByDefault() throws Exception {
}

@Test
public void toggleAutoCommit() throws Exception {
void toggleAutoCommit() throws Exception {
assertThat(connection.getAutoCommit()).isTrue();
connection.setAutoCommit(true);
assertThat(connection.getAutoCommit()).isTrue();
Expand All @@ -83,7 +83,7 @@ public void toggleAutoCommit() throws Exception {
}

@Test
public void rollback() throws Exception {
void rollback() throws Exception {
final Schema schema =
new Schema(Collections.singletonList(Field.nullable("ints", new ArrowType.Int(32, true))));

Expand Down Expand Up @@ -112,7 +112,7 @@ public void rollback() throws Exception {
}

@Test
public void commit() throws Exception {
void commit() throws Exception {
final Schema schema =
new Schema(Collections.singletonList(Field.nullable("ints", new ArrowType.Int(32, true))));
final String tableName = quirks.caseFoldTableName("temptable");
Expand Down Expand Up @@ -143,7 +143,7 @@ public void commit() throws Exception {
}

@Test
public void enableAutoCommitAlsoCommits() throws Exception {
void enableAutoCommitAlsoCommits() throws Exception {
final Schema schema =
new Schema(Collections.singletonList(Field.nullable("ints", new ArrowType.Int(32, true))));
final String tableName = quirks.caseFoldTableName("temptable");
Expand Down

0 comments on commit 25acfe3

Please sign in to comment.