diff options
author | Lukas Larsson <lukas@erix.ericsson.se> | 2011-01-21 19:09:52 +0100 |
---|---|---|
committer | Lukas Larsson <lukas@erix.ericsson.se> | 2011-02-17 17:39:00 +0100 |
commit | fe7ebc1e78bb0c91c74403047802c5061e918b0d (patch) | |
tree | 3c3ecd654e72f5ef387911b6a73467bee0b6759f /lib/odbc | |
parent | f35da4a31a95501e76b803e871483f88a367bba5 (diff) | |
download | otp-fe7ebc1e78bb0c91c74403047802c5061e918b0d.tar.gz otp-fe7ebc1e78bb0c91c74403047802c5061e918b0d.tar.bz2 otp-fe7ebc1e78bb0c91c74403047802c5061e918b0d.zip |
Update so that tests are skipped if odbc:connect fails
Diffstat (limited to 'lib/odbc')
-rw-r--r-- | lib/odbc/test/odbc_connect_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/odbc/test/odbc_connect_SUITE.erl b/lib/odbc/test/odbc_connect_SUITE.erl index b0a70fe04c..b080984f4a 100644 --- a/lib/odbc/test/odbc_connect_SUITE.erl +++ b/lib/odbc/test/odbc_connect_SUITE.erl @@ -78,7 +78,7 @@ end_per_group(_GroupName, Config) -> %%-------------------------------------------------------------------- init_per_suite(Config) -> application:start(odbc), - case odbc:connect(?RDBMS:connection_string(), + case catch odbc:connect(?RDBMS:connection_string(), [{auto_commit, off}]) of {ok, Ref} -> odbc:disconnect(Ref), |