Skip to content

Commit f3ca19d

Browse files
committed
Remove 2 warnings in sql_bridge_test
1 parent 95466c5 commit f3ca19d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/sql_bridge_test.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
%% vim: ts=4 sw=4 et sts=4
22
-module(sql_bridge_test).
33
-include_lib("eunit/include/eunit.hrl").
4+
-compile(nowarn_export_all).
45
-compile(export_all).
56

67
%% This is just a shortcut to prevent dialyzer throwing errors for the
@@ -197,7 +198,7 @@ test_trans(LookupPid, Quantity, CommitOrRollback) ->
197198
FirstSleep = 1000 - SleepModifier,
198199
SecondSleep = 1500 + SleepModifier,
199200
ThirdSleep = 2000,
200-
StartTime = os:timestamp(),
201+
%StartTime = os:timestamp(),
201202
?TRANS_STATUS("Transaction Started. Sleeping for ~pms", [FirstSleep]),
202203
timer:sleep(FirstSleep),
203204
?TRANS_STATUS("Woke up. Verifying fruit table is empty"),

0 commit comments

Comments
 (0)