Skip to content

Commit

Permalink
[rebar3_format-0.6.0] Pin rebar3_format to its latest version (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brujo Benavides authored Oct 28, 2020
1 parent 8444bb4 commit 85dbf90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
{alias, [{test, [format, lint, xref, dialyzer, eunit, cover, edoc]}]}.

{plugins, [
{rebar3_format, "~> 0.5.0"},
{rebar3_format, "~> 0.6.0"},
rebar3_lint,
rebar3_hex
]}.
Expand Down
13 changes: 6 additions & 7 deletions test/kinetic_stream_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ test_get_stream() ->
ok;
_ ->
bad
after 1000 ->
bad
after 1000 ->
bad
end,
ets:insert_new(?KINETIC_STREAM, {<<"mystream">>, ChildPid}),
pid = kinetic_stream:get_stream(<<"mystream">>, {<<"whatever">>}).
Expand Down Expand Up @@ -114,9 +114,8 @@ test_functionality() ->
[{<<"Data">>, b64fast:encode64(RegularData)},
{<<"PartitionKey">>, <<P/binary, "-2">>},
{<<"StreamName">>, S}],
receive
after 100 ->
ok
receive after 100 ->
ok
end,
true = meck:called(kinetic, put_record, [Payload2, Pid]),
kinetic_stream:flush(S, {P}),
Expand Down Expand Up @@ -156,6 +155,6 @@ wait_for_flush() ->
ok;
_ ->
bad
after 1000 ->
bad
after 1000 ->
bad
end.

0 comments on commit 85dbf90

Please sign in to comment.