Skip to content

Commit

Permalink
Adds explicit assert expression to problematic testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
nanodirijabl committed Jan 31, 2025
1 parent c0892ca commit d9ebbe6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/shortener/test/shortener_general_SUITE.erl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
-module(shortener_general_SUITE).

-include_lib("bouncer_proto/include/bouncer_decision_thrift.hrl").
-include_lib("bouncer_proto/include/bouncer_ctx_v1_thrift.hrl").
-include_lib("stdlib/include/assert.hrl").

-export([init/1]).

Expand Down Expand Up @@ -315,7 +314,7 @@ woody_timeout_test(C) ->
timer:tc(fun() ->
shorten_url(Params, 30 * 1000, C2)
end),
true = (Time >= 3000000).
?assertMatch(V when V >= 3000000, Time).

%%
-spec health_check_passing(config()) -> _.
Expand Down

0 comments on commit d9ebbe6

Please sign in to comment.