redict/tests
Meir Shpilraien (Spielrein) adc3183cd2
Add Module API for version and compatibility checks (#7865)
* Introduce a new API's: RM_GetContextFlagsAll, and
RM_GetKeyspaceNotificationFlagsAll that will return the
full flags mask of each feature. The module writer can
check base on this value if the Flags he needs are
supported or not.

* For each flag, introduce a new value on redismodule.h,
this value represents the LAST value and should be there
as a reminder to update it when a new value is added,
also it will be used in the code to calculate the full
flags mask (assuming flags are incrementally increasing).
In addition, stated that the module writer should not use
the LAST flag directly and he should use the GetFlagAll API's.

* Introduce a new API: RM_IsSubEventSupported, that returns for a given
event and subevent, whether or not the subevent supported.

* Introduce a new macro RMAPI_FUNC_SUPPORTED(func) that returns whether
or not a function API is supported by comparing it to NULL.

* Introduce a new API: int RM_GetServerVersion();, that will return the
current Redis version in the format 0x00MMmmpp; e.g. 0x00060008;

* Changed unstable version from 999.999.999 to 255.255.255

Co-authored-by: Oran Agra <oran@redislabs.com>
Co-authored-by: Yossi Gottlieb <yossigo@gmail.com>
2020-10-11 17:21:58 +03:00
..
assets Tests: Add aclfile load and save tests (#7765) 2020-09-09 17:13:35 +03:00
cluster Allow blocked XREAD on a cluster replica (#7881) 2020-10-06 21:43:30 +03:00
helpers revert an accidental test code change done as part of the tls project 2019-12-01 16:10:09 +02:00
integration Adds new pop-push commands (LMOVE, BLMOVE) (#6929) 2020-10-08 08:33:17 +03:00
modules Add Module API for version and compatibility checks (#7865) 2020-10-11 17:21:58 +03:00
sentinel Recalculate hardcoded variables from $::instances_count in sentinel tests (#7561) 2020-09-13 18:39:59 +03:00
support Adds new pop-push commands (LMOVE, BLMOVE) (#6929) 2020-10-08 08:33:17 +03:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit Add Module API for version and compatibility checks (#7865) 2020-10-11 17:21:58 +03:00
instances.tcl Allow blocked XREAD on a cluster replica (#7881) 2020-10-06 21:43:30 +03:00
test_helper.tcl Remove tmp rdb file in background thread (#7762) 2020-09-17 18:20:10 +03:00