Skip to content

Commit 41e987c

Browse files
Merge pull request #19 from rabbitmq/erlang-otp-21-compatibility
Compile Erlang/OTP 21
2 parents f95f92d + 5c2cfea commit 41e987c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

deps/rabbitmq_ct_helpers/src/inet_proxy_dist.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
%%
1616
-module(inet_proxy_dist).
1717

18+
%% Transitional step until we can require Erlang/OTP 21 and
19+
%% use the now recommended try/catch syntax for obtaining the stack trace.
20+
-compile(nowarn_deprecated_function).
21+
1822
%% A distribution plugin that uses the usual inet_tcp_dist but allows
1923
%% insertion of a proxy at the receiving end.
2024

deps/rabbitmq_ct_helpers/src/inet_tcp_proxy.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
%%
1616
-module(inet_tcp_proxy).
1717

18+
%% Transitional step until we can require Erlang/OTP 21 and
19+
%% use the now recommended try/catch syntax for obtaining the stack trace.
20+
-compile(nowarn_deprecated_function).
21+
1822
%% A TCP proxy for insertion into the Erlang distribution mechanism,
1923
%% which allows us to simulate network partitions.
2024

0 commit comments

Comments
 (0)