aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/test/odbc_connect_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-01-21 19:09:52 +0100
committerLukas Larsson <[email protected]>2011-02-17 17:39:00 +0100
commitfe7ebc1e78bb0c91c74403047802c5061e918b0d (patch)
tree3c3ecd654e72f5ef387911b6a73467bee0b6759f /lib/odbc/test/odbc_connect_SUITE.erl
parentf35da4a31a95501e76b803e871483f88a367bba5 (diff)
downloadotp-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/test/odbc_connect_SUITE.erl')
-rw-r--r--lib/odbc/test/odbc_connect_SUITE.erl2
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),