diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2015-01-08 13:42:10 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2015-01-08 13:42:10 +0000 |
| commit | ab8e9607153020a34345c60d124bd385c55f6f02 (patch) | |
| tree | 00be89655dcabcf79d1608d141bb7f094ca2155c /test/src | |
| parent | f8121ae94c165bec7a90c024b0ae068792cd5806 (diff) | |
| parent | 5d9cee333a62e74bf9ec541fe561f63eaf873994 (diff) | |
| download | rabbitmq-server-git-ab8e9607153020a34345c60d124bd385c55f6f02.tar.gz | |
Merge in default
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/rabbit_tests.erl | 8 | ||||
| -rw-r--r-- | test/src/supervisor2_tests.erl | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/test/src/rabbit_tests.erl b/test/src/rabbit_tests.erl index ef6b756b14..dcbec8f606 100644 --- a/test/src/rabbit_tests.erl +++ b/test/src/rabbit_tests.erl @@ -1292,11 +1292,9 @@ test_spawn_remote() -> end. user(Username) -> - #user{username = Username, - tags = [administrator], - auth_backend = rabbit_auth_backend_internal, - impl = #internal_user{username = Username, - tags = [administrator]}}. + #user{username = Username, + tags = [administrator], + authz_backends = [{rabbit_auth_backend_internal, none}]}. test_confirms() -> {_Writer, Ch} = test_spawn(), diff --git a/test/src/supervisor2_tests.erl b/test/src/supervisor2_tests.erl index 4d362e5bca..195211b07a 100644 --- a/test/src/supervisor2_tests.erl +++ b/test/src/supervisor2_tests.erl @@ -49,7 +49,12 @@ check_shutdown(SigStop, Iterations, ChildCount, SupTimeout) -> R end, ok, lists:seq(1, Iterations)), unlink(Sup), + MSupRef = erlang:monitor(process, Sup), exit(Sup, shutdown), + receive + {'DOWN', MSupRef, process, Sup, _Reason} -> + ok + end, Res. start_link() -> |
