diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2019-02-28 11:23:09 +0100 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2019-02-28 11:23:09 +0100 |
| commit | be587ad38fd9ac276e7ae9f4ceda12af004d9806 (patch) | |
| tree | dba1f8a8c2ea996dcb83bde7ab02680cc6c9822a | |
| parent | 08bce616c5af789176ec1ab4836487a851734173 (diff) | |
| download | rabbitmq-server-git-be587ad38fd9ac276e7ae9f4ceda12af004d9806.tar.gz | |
rabbit_fifo_SUITE: Fix include of `rabbit_fifo.hrl`
We cannot use `-include_lib()` here because we are inside the
application.
It happened to work by chance because we use the Umbrella to work on all
projects, so rabbitmq-server is also inside `DEPS_DIR`. But when the
project is tested outside of the Umbrella, the testsuite failed to
compile.
| -rw-r--r-- | test/rabbit_fifo_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rabbit_fifo_SUITE.erl b/test/rabbit_fifo_SUITE.erl index ceed092d0f..72f09c3c64 100644 --- a/test/rabbit_fifo_SUITE.erl +++ b/test/rabbit_fifo_SUITE.erl @@ -11,8 +11,8 @@ -include_lib("common_test/include/ct.hrl"). -include_lib("eunit/include/eunit.hrl"). -include_lib("ra/include/ra.hrl"). --include_lib("rabbit/src/rabbit_fifo.hrl"). -include_lib("rabbit_common/include/rabbit.hrl"). +-include("src/rabbit_fifo.hrl"). %%%=================================================================== %%% Common Test callbacks |
