@@ -195,6 +195,18 @@ private static Connection openTableConnection() throws SQLException {
195195 @ Test
196196 public void testPackagedConfiguration () throws Exception {
197197 assertFalse (PACKAGED_SYSTEM_PROPERTIES .containsKey ("model_inference_execution_thread_count" ));
198+ assertEdgeProperty ("candidate_compaction_task_queue_size" , "10" );
199+ assertEdgeProperty ("compaction_max_aligned_series_num_in_one_batch" , "2" );
200+ assertEdgeProperty ("target_compaction_file_size" , "33554432" );
201+ assertEdgeProperty ("inner_compaction_total_file_size_threshold" , "52428800" );
202+ assertEdgeProperty ("inner_compaction_total_file_num_threshold" , "10" );
203+ assertEdgeProperty ("inner_compaction_candidate_file_num" , "8" );
204+ assertEdgeProperty ("max_cross_compaction_candidate_file_num" , "10" );
205+ assertEdgeProperty ("max_cross_compaction_candidate_file_size" , "52428800" );
206+ assertEdgeProperty ("target_chunk_point_num" , "10000" );
207+ assertEdgeProperty ("target_chunk_size" , "262144" );
208+ assertEdgeProperty ("max_number_of_points_in_page" , "1000" );
209+ assertEdgeProperty ("page_size_in_byte" , "16384" );
198210 assertTrue (Files .isRegularFile (edgeHome .resolve ("sbin/windows/check-edge.ps1" )));
199211
200212 final DocumentBuilderFactory factory = DocumentBuilderFactory .newInstance ();
@@ -217,6 +229,13 @@ public void testPackagedConfiguration() throws Exception {
217229 }
218230 }
219231
232+ private static void assertEdgeProperty (final String name , final String expectedValue ) {
233+ assertEquals (
234+ "Unexpected packaged Edge value for " + name ,
235+ expectedValue ,
236+ PACKAGED_SYSTEM_PROPERTIES .getProperty (name ));
237+ }
238+
220239 private static String jdbcUrl () {
221240 return Config .IOTDB_URL_PREFIX + "127.0.0.1:" + rpcPort ;
222241 }
0 commit comments