Skip to content

Commit 8c58f53

Browse files
authored
Configure cli test that requires backtrace to be optional (#17236)
* Configure cli test that requires backtrace to be optional * Fix format
1 parent 4bc0696 commit 8c58f53

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

datafusion-cli/tests/cli_integration.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ SELECT COUNT(*) FROM hits;
340340
#[rstest]
341341
#[case("SELECT pow(1,'foo')")]
342342
#[case("SELECT CAST('not_a_number' AS INTEGER);")]
343+
#[cfg(feature = "backtrace")]
343344
fn test_backtrace_output(#[case] query: &str) {
344345
let mut cmd = cli();
345346
// Use a command that will cause an error and trigger backtrace

0 commit comments

Comments
 (0)