summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Use maps:get/3David Ansari2022-09-091-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | instead of maps:find/2. This creates less garbage.
| * | | | Remove rabbit_misc:atom_to_binary/1David Ansari2022-09-095-20/+17
| | | | | | | | | | | | | | | | | | | | Nowadays, we have erlang:atom_to_binary/1.
| * | | | Add gen_event behaviour declarationDavid Ansari2022-09-094-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | This makes it easier to see that a module is an event handler. Furthermore the compiler checks for required callback functions.
| * | | | Stop sending stats to rabbit_eventDavid Ansari2022-09-099-125/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop sending connection_stats from protocol readers to rabbit_event. Stop sending queue_stats from queues to rabbit_event. Sending these stats every 5 seconds to the event manager process is superfluous because noone handles these events. They seem to be a relict from before rabbit_core_metrics ETS tables got introduced in 2016. Delete test head_message_timestamp_statistics because it tests that head_message_timestamp is set correctly in queue_stats events although queue_stats events are used nowhere. The functionality of head_message_timestamp itself is still tested in deps/rabbit/test/priority_queue_SUITE.erl and deps/rabbit/test/temp/head_message_timestamp_tests.py
* | | | | Merge pull request #5741 from rabbitmq/fix-flaky-credit-testMichael Klishin2022-09-091-4/+4
|\ \ \ \ \ | | | | | | | | | | | | Fix flaky rabbit_fifio_int:credit test
| * | | | | Fix flaky rabbit_fifio_int:credit testsDavid Ansari2022-09-091-4/+4
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this commit test credit() was flaky. It used to fail with: ``` rabbit_fifo_int_SUITE:credit failed on line 437 Reason: {badmatch,{[{{resource,"/",queue,<<"credit">>},credit,1,fals...} ``` In that case returned events were: ``` Events=[{ra_event,{credit,ct_rabbit@nuc},{applied,[{3,ok}]}}, {ra_event,{credit,ct_rabbit@nuc}, {machine,{delivery,<<"tag">>,[{1,{0,m2}}]}}}] ``` instead of: ``` Events=[{ra_event, {credit,ct_rabbit@nuc}, {machine,{delivery,<<"tag">>,[{1,{0,m2}}]}}}, {ra_event, {credit,ct_rabbit@nuc}, {applied, [{3,ok}, {4, {multi, [{send_credit_reply,0}, {send_drained,{<<"tag">>,3}}]}}]}}] ``` The fix is we wait for both ra 'applied' events.
* | | | | Merge pull request #5726 from rabbitmq/rabbitmq-server-5721Michael Klishin2022-09-094-69/+124
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Drop unit_disk_monitor_mocks_SUITE from BUILD.bazelMichael Klishin2022-09-091-5/+0
| | | | | | | | | | | | | | | | | | | | that suite was renamed
| * | | | Add a Bazel rule for test/disk_monitor_SUITE.erlMichael Klishin2022-09-091-0/+5
| | | | |
| * | | | Disk monitor strikes back!Luke Bakken2022-09-083-64/+119
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Crash when a sub-command times out * Use atom `NaN` when free space can not be determined Fixes #5721 Use port to run /bin/sh on `unix` systems to then run `df` command Update disk monitor tests to not use mocks because we no longer use rabbit_misc:os_cmd/1
* | | | Merge pull request #5730 from eltociear/patch-1Michael Klishin2022-09-091-1/+1
|\ \ \ \ | | | | | | | | | | Fix typo in plugins.mk
| * | | | Fix typo in plugins.mkIkko Ashimine2022-09-091-1/+1
| |/ / / | | | | | | | | overriden -> overridden
* | | | Merge pull request #5732 from rabbitmq/mk-3.11-release-notes-tweakMichael Klishin2022-09-091-1/+1
|\ \ \ \ | |/ / / |/| | | 3.11 release notes: reword as suggested in #5319
| * | | 3.11 release notes: wording as suggested in #5319Michael Klishin2022-09-091-1/+1
|/ / /
* | | Remove experimental warning in super stream commandsArnaud Cogoluègnes2022-09-062-4/+4
| | |
* | | Remove debug log messages from stream SAC coordinatorArnaud Cogoluègnes2022-09-061-30/+6
| | | | | | | | | | | | Not useful anymore.
* | | Fix MQTT protocol version in MQTT testsDavid Ansari2022-09-065-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a follow-up commit of https://github.com/rabbitmq/rabbitmq-server/pull/5693 The allowed values of emqtt client library are: ``` {proto_ver, v3 | v4 | v5} ``` Therefore, `{proto_ver, 3}` did not have any effect and used the default protocol version v4. Let's fix the misleading version in our tests and be explicit that we use v4.
* | | Update 3.11.0.mdMichael Klishin2022-09-041-0/+4
| |/ |/|
* | Merge pull request #5709 from ↵Michael Klishin2022-09-031-1/+1
|\ \ | | | | | | | | | | | | rabbitmq/rabbitmq-server-5708-whitelist-elixir-1.14 CLI tools: whitelist Elixir 1.14
| * \ Merge branch 'main' into rabbitmq-server-5708-whitelist-elixir-1.14Michael Klishin2022-09-031-1/+1
| |\ \ | |/ / |/| |
* | | Make CLI tools version reflect that of RabbitMQ itself on this branchMichael Klishin2022-09-031-1/+1
| | |
| * | CLI tools: whitelist Elixir 1.14Michael Klishin2022-09-031-1/+1
|/ / | | | | | | As suggested by @VlkrS in #5708
* | Update 3.11.0.mdMichael Klishin2022-09-021-1/+1
| |
* | Point emqtt test dependency to a tree referenceDavid Ansari2022-09-023-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Since I force pushed to master branch of https://github.com/ansd/emqtt, the old commit does not belong to any branch anymore. While Bazel is happy, make complains: ``` make -C deps/rabbitmq_mqtt ct DEP emqtt (f6d7ddd391890f4db5f77c775e83cf0ffe3d2d76) fatal: reference is not a tree: f6d7ddd391890f4db5f77c775e83cf0ffe3d2d76 ```
* | Run selenium tests on main branchMarcial Rosales2022-09-021-1/+1
| |
* | Merge pull request #4749 from rabbitmq/oidc-integrationMichael Klishin2022-09-0261-193/+5105
|\ \
| * | Simplify make targetsMarcial Rosales2022-09-022-3/+5
| | |
| * | Add missing renamed oauth.enable -> oauth.enabledMarcial Rosales2022-09-024-10/+10
| | |
| * | Management plugin: oauth_enable => oauth_enabled in more placesMichael Klishin2022-09-021-2/+2
| | |
| * | management.oauth_enable => management.oauth_enabledMichael Klishin2022-09-028-17/+17
| | |
| * | Fix bug in start-uaa.sh scriptMarcial Rosales2022-09-0110-29/+28
| | | | | | | | | | | | | | | | | | And capture screenshots on all test cases on teardown if the test failed Use headless chrome 104
| * | Fix location of script waitTillUAAReadyMarcial Rosales2022-09-012-5/+3
| | | | | | | | | | | | and use 105 of headless chrome
| * | Update how to wait for UAAMarcial Rosales2022-09-011-2/+3
| | |
| * | Wait till token TTL before checking againMarcial Rosales2022-09-011-8/+3
| | |
| * | Logging improvementsMarcial Rosales2022-09-014-50/+22
| | | | | | | | | | | | | | | | | | Rather than logging directly via console.log we do it via the Logger library provided by oidc-client which allows to use logging levels
| * | Enable only 2 plugins not allMarcial Rosales2022-09-011-16/+1
| | |
| * | OAuth 2 Selenium suite: bump selenium-webdriver and chromedriverMichael Klishin2022-09-011-3/+3
| | |
| * | Improve wordingMarcial Rosales2022-09-011-2/+7
| | |
| * | Fix wrong folder nameMarcial Rosales2022-09-011-1/+1
| | |
| * | Use OTP 25.0.4 to build RabbitMq docker imageMarcial Rosales2022-08-311-3/+3
| | | | | | | | | | | | | | | | | | using makefile (cherry picked from commit 2d00d453d2c529ae038a5713e3f24d524545e771)
| * | Fix location of uaa configurationMarcial Rosales2022-08-301-3/+3
| | | | | | | | | | | | when running in headless mode
| * | Test hard session timeoutMarcial Rosales2022-08-305-5/+62
| | | | | | | | | | | | | | | | | | When the management ui session times out the user should be logged out also from the idp
| * | Refactor how selenium tests are runMarcial Rosales2022-08-3021-207/+183
| | |
| * | Fix logout workflowMarcial Rosales2022-08-3010-48/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue was primarily that UAA was not properly configured. We had to whitelist the uri used for logout otherwise UAA redirects to its login page WIP verify that logout.js works when running in headless mode. For that we need a docker image and at the moment, make docker-image is not working because it is still using old otp 24.0.2
| * | Skip logout selenium testMarcial Rosales2022-08-301-1/+1
| | |
| * | Explain how to launch rabbitq from sourceMarcial Rosales2022-08-301-0/+9
| | |
| * | Capture UAA logs before killing itMarcial Rosales2022-08-301-3/+10
| | |
| * | Run action against oidc-integration branchMarcial Rosales2022-08-301-1/+1
| | |
| * | Run selenium tests with ActionsMarcial Rosales2022-08-3024-182/+601
| | |
| * | Move it temporary to a feature branchMarcial Rosales2022-08-301-15/+0
| | | | | | | | | | | | | | | To work on the github action and then merge back to this branch