Skip to content

Commit b4d6540

Browse files
authored
chore: drop invalid sql test as it triggers exception breakpoints (#4722)
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 8be7e5f commit b4d6540

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

vortex-duckdb/src/duckdb/connection.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,6 @@ mod tests {
132132
assert_eq!(result.row_count(), 2);
133133
}
134134

135-
#[test]
136-
fn test_query_invalid_sql() {
137-
let conn = test_connection().unwrap();
138-
let result = conn.query("INVALID SQL");
139-
assert!(result.is_err());
140-
}
141-
142135
#[test]
143136
fn test_query_single_value() {
144137
let conn = test_connection().unwrap();

0 commit comments

Comments
 (0)