4141import static org .junit .Assert .assertTrue ;
4242
4343@ Category ({LocalStandaloneIT .class , ClusterIT .class })
44- public class IoTDBDeleteStorageGroupIT extends AbstractSchemaIT {
44+ public class IoTDBDeleteDatabaseIT extends AbstractSchemaIT {
4545
46- public IoTDBDeleteStorageGroupIT (SchemaTestMode schemaTestMode ) {
46+ public IoTDBDeleteDatabaseIT (SchemaTestMode schemaTestMode ) {
4747 super (schemaTestMode );
4848 }
4949
@@ -65,7 +65,7 @@ public void tearDown() throws Exception {
6565 }
6666
6767 @ Test
68- public void testDeleteStorageGroup () throws Exception {
68+ public void testDeleteDatabase () throws Exception {
6969 try (Connection connection = EnvFactory .getEnv ().getConnection ();
7070 Statement statement = connection .createStatement ()) {
7171 statement .execute ("CREATE DATABASE root.ln.wf01.wt01" );
@@ -90,7 +90,7 @@ public void testDeleteStorageGroup() throws Exception {
9090 }
9191
9292 @ Test
93- public void testDeleteMultipleStorageGroupWithQuote () throws Exception {
93+ public void testDeleteMultipleDatabasesWithQuote () throws Exception {
9494 try (Connection connection = EnvFactory .getEnv ().getConnection ();
9595 Statement statement = connection .createStatement ()) {
9696 statement .execute ("CREATE DATABASE root.ln1.wf01.wt01" );
@@ -113,7 +113,7 @@ public void testDeleteMultipleStorageGroupWithQuote() throws Exception {
113113 }
114114
115115 @ Test (expected = SQLException .class )
116- public void deleteNonExistStorageGroup () throws Exception {
116+ public void deleteNonExistDatabase () throws Exception {
117117 try (final Connection connection = EnvFactory .getEnv ().getConnection ();
118118 final Statement statement = connection .createStatement ()) {
119119 statement .execute ("CREATE DATABASE root.ln2.wf01.wt01" );
@@ -122,7 +122,7 @@ public void deleteNonExistStorageGroup() throws Exception {
122122 }
123123
124124 @ Test
125- public void testDeleteStorageGroupWithStar () throws Exception {
125+ public void testDeleteDatabaseWithStar () throws Exception {
126126 try (Connection connection = EnvFactory .getEnv ().getConnection ();
127127 Statement statement = connection .createStatement ()) {
128128 statement .execute ("CREATE DATABASE root.ln3.wf01.wt01" );
@@ -145,7 +145,7 @@ public void testDeleteStorageGroupWithStar() throws Exception {
145145 }
146146
147147 @ Test
148- public void testDeleteAllStorageGroups () throws Exception {
148+ public void testDeleteAllDatabases () throws Exception {
149149 try (Connection connection = EnvFactory .getEnv ().getConnection ();
150150 Statement statement = connection .createStatement ()) {
151151 statement .execute ("CREATE DATABASE root.ln4.wf01.wt01" );
@@ -164,7 +164,7 @@ public void testDeleteAllStorageGroups() throws Exception {
164164 }
165165
166166 @ Test
167- public void testDeleteStorageGroupAndThenQuery () throws Exception {
167+ public void testDeleteDatabaseAndThenQuery () throws Exception {
168168 try (Connection connection = EnvFactory .getEnv ().getConnection ();
169169 Statement statement = connection .createStatement ()) {
170170 statement .execute ("insert into root.sg1.d1(time,s1) values(1,1);" );
@@ -185,7 +185,7 @@ public void testDeleteStorageGroupAndThenQuery() throws Exception {
185185 }
186186
187187 @ Test
188- public void testDeleteStorageGroupInvalidateCache () throws Exception {
188+ public void testDeleteDatabaseInvalidateCache () throws Exception {
189189 try (final Connection connection = EnvFactory .getEnv ().getConnection ();
190190 final Statement statement = connection .createStatement ()) {
191191 try {
0 commit comments