Skip to content

Commit b6d6fbc

Browse files
committed
Modify run_all_sql_test_files to prevent stack overflow (heap allocate)
1 parent fa602f2 commit b6d6fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/sql_test_files/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async fn run_all_sql_test_files() {
1414
wait_for_echo_server(port).await;
1515

1616
for test_file in test_files {
17-
run_sql_test(&test_file, &app_data, &echo_handle, port).await;
17+
let _ = Box::pin(run_sql_test(&test_file, &app_data, &echo_handle, port));
1818
}
1919

2020
let _ = shutdown_tx.send(());

0 commit comments

Comments
 (0)