Skip to content

Commit 54388b2

Browse files
authored
chore: drop invalid sql test as it triggers exception breakpoints (#4702)
This lead to poor DX when running `vortex-duckdb` unit tests, as `lldb` stops multiple times on exception breakpoints. It is expected though and correct behavior that DuckDB throws an exception for invalid SQL queries. Signed-off-by: Alexander Droste <[email protected]>
1 parent f305580 commit 54388b2

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

vortex-duckdb/src/duckdb/connection.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,6 @@ mod tests {
9292
assert!(result.is_ok());
9393
}
9494

95-
#[test]
96-
fn test_execute_invalid_sql() {
97-
let conn = test_connection().unwrap();
98-
let result = conn.query("INVALID SQL STATEMENT");
99-
assert!(result.is_err());
100-
let error_msg = result.unwrap_err().to_string();
101-
assert!(error_msg.contains("Failed to execute query"));
102-
}
103-
10495
#[test]
10596
fn test_execute_with_null_bytes() {
10697
let conn = test_connection().unwrap();

0 commit comments

Comments
 (0)