Skip to content

Commit c4d65ee

Browse files
committed
skip ASAN test with exception.
1 parent ecaa10e commit c4d65ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/duckdb_test/config_test.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ def test_s_key_descriptions
4242
def test_set_config
4343
config = DuckDB::Config.new
4444
assert_instance_of(DuckDB::Config, config.set_config('access_mode', 'READ_ONLY'))
45+
end
4546

47+
def test_set_config_with_exception
48+
skip 'test with ASAN' if ENV['ASAN_TEST'] == '1'
4649
assert_raises(DuckDB::Error) do
4750
config.set_config('access_mode', 'INVALID_VALUE')
4851
end

0 commit comments

Comments
 (0)