Commit Graph

35 Commits

Author SHA1 Message Date
Michael Klishin 1265331fc2 (c) year 2017-04-02 21:47:41 +03:00
Jean-Sébastien Pédron cc3599a0a4 rabbit_ct_broker_helpers: Execute `make test-dist` once only
We use the `$SKIP_MAKE_TEST_DIST` environment variable to record the
fact that the command was already executed. We use an environment
variable and not a configuration parameter because it spans multiple
testsuites out-of-the-box.

Because `make test-dist` was executed each time a broker/cluster was
started, this change should save quite some time in testsuites which
start many brokers/clusters.

The caller can use the same variable to disable `make test-dist`
entirely.

[#141300123]
2017-03-30 10:57:44 +02:00
Jean-Sébastien Pédron 1faa985710 rabbit_ct_helpers: Make sure env. variables are strings
... not binaries. This was a regression in commit
9807500a02. This led to erlang:open_port()
throwing badarg.
2017-02-27 18:27:50 +01:00
Jean-Sébastien Pédron deb2d8e932 Update rabbitmq-components.mk 2017-02-27 10:45:34 +01:00
Jean-Sébastien Pédron 9807500a02 rabbit_ct_helpers:exec(): Pass binary args directory open_port()
... instead of converting them to strings. That way, we are sure to not
mess with character encoding.
2017-02-24 10:47:10 +01:00
Michael Klishin 3e49404e8c Update rabbitmq-components.mk 2017-02-08 16:38:13 +03:00
Michael Klishin 9d8d3f968b Update rabbitmq-components.mk 2017-02-06 19:23:52 +03:00
Michael Klishin 8a70941fe0 Update rabbitmq-components.mk 2017-01-31 18:06:25 +03:00
Michael Klishin 05c523038c switch_credential_validator/2, switch_credential_validator/3 2017-01-07 02:17:58 +08:00
Michael Klishin 8acb0db508 Introduce add_user/3, change_password/3; cosmetics 2017-01-07 02:09:33 +08:00
Arnaud Cogoluègnes 65f43a26e7 Add global parameters handling functions 2016-12-13 17:06:17 +01:00
Arnaud Cogoluègnes 318f6315a2 Add rabbit_ct_broker_helpers:clear_permissions 2016-12-13 15:57:55 +01:00
Jean-Sébastien Pédron bd4ef49c43 rabbit_ct_helpers: Interpret $RABBITMQ_CT_SKIP_AS_ERROR
... to exit() early (and fail the testsuite) if a step (as in
rabbit_ct_helpers:run_steps/2) returns `{skip, _}`.

[#133917673]
2016-12-13 12:42:55 +01:00
Jean-Sébastien Pédron 2c6af4a172 Update rabbitmq-components.mk 2016-12-08 19:14:45 +01:00
Jean-Sébastien Pédron 8d9914037b Move from .app.src to Makefile variables
This is the recommended way with Erlang.mk.

By default, the version is inherited from rabbitmq-server-release when
the source archive is created, or computed from git-describe(1) (see
`rabbitmq-components.mk`). One can override the version from the command
line by setting the `PROJECT_VERSION` variable.

[#130992027]
2016-12-06 15:55:45 +01:00
Jean-Sébastien Pédron 80b0b22813 rabbit_ct_clients_helpers.erl was moved to rabbitmq-ct-client-helpers
[#134347953]
2016-12-02 10:52:33 +01:00
Michael Klishin e2aed20be1 Update rabbitmq-components.mk 2016-11-29 20:59:28 +03:00
Jean-Sébastien Pédron 6120aa65cb Update rabbitmq-components.mk 2016-11-25 10:50:55 +01:00
Jean-Sébastien Pédron 322534afec Update rabbitmq-components.mk 2016-11-25 10:08:16 +01:00
Jean-Sébastien Pédron 8bbb7578f2 Update rabbitmq-components.mk 2016-11-23 18:06:00 +01:00
Gerhard Lazu 641449d1cd Update erlang.mk 2016-11-22 16:18:43 +00:00
Gerhard Lazu 54ba325c98 Update rabbitmq-components.mk 2016-11-22 16:16:31 +00:00
Michael Klishin 2862963252 Merge pull request #2 from rabbitmq/symlink_private_log_dir
Symlink private_log directory for the last test run inside logs
2016-10-11 15:01:06 +03:00
kjnilsson 2c1911f8e5 Symlink private_log directory for the last test run inside logs 2016-10-07 12:35:50 +01:00
Jean-Sébastien Pédron 7a63804a47 rabbit_ct_helpers: Use path to `rabbit_common` in rabbit_common_srcdir
... not `rabbit`.

This fixes a failure in the rabbitmq-federation plugin testsuite.
2016-09-29 15:50:18 +02:00
Jean-Sébastien Pédron 0adbbff5b9 New PropEr helpers from branch rabbitmq-management-236 in rabbitmq-common
[#130086871]
2016-09-27 11:14:19 +02:00
Jean-Sébastien Pédron 02745ce551 rabit_ct_client_helpers: Use values from `Config`
... instead of hard-coding them.
2016-09-23 14:45:43 +02:00
Jean-Sébastien Pédron 472cd3335e rabbit_ct_client_helpers: Support direct conn. in open_unmanaged_connection() 2016-09-23 14:41:55 +02:00
Jean-Sébastien Pédron f09d9582b7 Update rabbitmq-components.mk 2016-09-23 11:23:03 +02:00
Jean-Sébastien Pédron 426c4a6f7f Update erlang.mk 2016-09-22 17:56:19 +02:00
Jean-Sébastien Pédron 738daf0cb3 rabbitmq_ct_helpers: Base directory lookups on rabbitmq-ct-helpers
[#130086871]
2016-09-19 11:08:45 +02:00
Jean-Sébastien Pédron 1d2939b17f inet_tcp_proxy: Use error_logger instead of rabbit_log
rabbit_log is part of rabbitmq-server and we don't want a circular
dependency.

[#130086871]
2016-09-19 11:06:36 +02:00
Jean-Sébastien Pédron 9cca002e95 Update rabbitmq-components.mk 2016-09-15 15:52:12 +02:00
Jean-Sébastien Pédron 8779ff29d3 Initial import of all testsuite helpers (stable branch)
[#130086871]
2016-09-15 12:09:00 +02:00
Jean-Sébastien Pédron 6e505d9e73 Initial import of all testsuite helpers
[#130086871]
2016-09-15 11:51:31 +02:00