Skip to content

Nhse o40 or341uplift#26

Open
martinsumner wants to merge 10 commits intoopenriak-4.0from
nhse-o40-or341uplift
Open

Nhse o40 or341uplift#26
martinsumner wants to merge 10 commits intoopenriak-4.0from
nhse-o40-or341uplift

Conversation

@martinsumner
Copy link
Copy Markdown
Contributor

Uplift with 3.4.1 changes

martinsumner and others added 10 commits April 13, 2026 13:41
…rs` (#20)

* test ssl formats ciphers without errors in `riak admin security ciphers`

Producing cipher strings for printing with `riak admin security ciphers`
uses undocumented functions (such as ssl_cipher_format:
suite_map_to_openssl_str/1, still existing in otp-26, or
ssl_cipher_format:suite_bin_to_map/1, already gone).

This test case is to trip whenever such breakage occurs in future.

* in ciphers printout, expect well-formed lines

rather than matching on 'EXIT', which can occur (or stop occurring) from unrelated causes.

Co-authored-by: Martin Sumner <martin.sumner@adaptip.co.uk>

---------

Co-authored-by: Andriy Zavada <andriy.zavada@tiot.jp>
Co-authored-by: Martin Sumner <martin.sumner@adaptip.co.uk>
There is no test of the fetch of an individual vtag via the HTTP API - the riak erlang http client does not support it.

It is a documented part of the API however, and it fails in Riak 3.4.0 when using the metadata_version v1.
* riak admin vnode-status test

* also record vnode_status_test in groups/admin_all

* vnode_status_test: expect json already pretty-printed

---------

Co-authored-by: Andriy Zavada <andriy.zavada@tiot.jp>
* Add initial Test of queue query options

Tests expected errors, as well as using queue_raw_keys and queue_raw_terms as expected.

* Decode/encode the reference correctly

* Test changes after name changes

* Verify fetching results from queue with updated riak client

Requires RHC branch (to be reversed before this is merged)

* Expect a bad request for a queue to be a client error

This is not normally a server error, so don't confuse load-balancers tracking server health by returning a 500

* Check handling of a decoded queue reference in the wrong format

* Change unexpected 400 to a client error
... with actual validation of output, so remove the ping test from here (now fails, probably due to change of function call following move to clique).
* Initial query tests

* Include performance comparison with old 2i query

* Add basic eval expression tests

* Change names of accumulation options

* Add raw_terms to testing

* Add combo_query test

* Add term counting tests

* Add range_query test with max_results

Handle remove of `struct` references from query results

* Add max_results test for filter query

* Rename tests and use dedicated query group

* Add stats checking for query changes

* Test fixes

* Add test of queries in documentation

* Add test to load data - for performance testing queries

* Revert to standard branches after PRs added for Query API

Fix broken hot postcode feature, and allow for brakes to be applied at end (to ensure that ledger compaction not in behind).

* Add first round of query tests to query_perf

Also allows for brakes to be applied to ease into the station at the end of the load - avoid the server being busy with a backlog of merge activity on commencement of tests.

* Extend timeout for test queries

* Extend comparisons keys vs raw_keys

* Extend to compare terms with raw_terms

* Fix matching issue

* Fix faulty eval function

* Add regex vs filter comparison and combo_query

* Expand queries

* Update rebar.config

* Make it easier to switch config in general_api_perf

* Bit of dialyzer magic

Export some functions so the option becomes an option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants