Commit Graph

18 Commits

Author SHA1 Message Date
Kelvin Clement Mwinuka
bc6537ad8f Replaces use of time.Sleep with time.Ticker in echovault and echovault tests 2024-06-02 17:34:20 +08:00
Kelvin Clement Mwinuka
b48ee54228 Updated test suites to retry connection to tcp server. Use concurrency to setup cluster in Test_Cluster suite. 2024-05-31 18:17:36 +08:00
Kelvin Clement Mwinuka
e1d5e8203f Disabled cluster test until a more efficient method is found. 2024-05-29 23:15:27 +08:00
Kelvin Clement Mwinuka
028fb7ccdf Updated expired entry filter function to accept time boundary 'now'. Implemented tests for snapshot package 2024-05-06 14:35:55 +08:00
Kelvin Clement Mwinuka
6a32f463d0 Implemented GetFreePort utility function to get free port for tests. Updated ACL and PubSub tests to use new GetFreePort functions instead of hardcoded ports 2024-05-03 14:13:16 +08:00
Kelvin Clement Mwinuka
281c4f27a7 Added godoc commends for embedded methods and types to extend commands. Moved constants to internal directory 2024-04-29 15:20:10 +08:00
Kelvin Clement Mwinuka
1d56e9839b Implemented tests for AddCommand, ExecuteCommand and RemoveCommand methods 2024-04-28 10:43:46 +08:00
Kelvin Clement Mwinuka
97f4617d86 Moved all packages from /pkg directory to the root directory. Deleted /pkg directory. Pass keyspace functions to raft package instead of an EchoVault instance. This removes dependency on the echovault pakage from the raft package. 2024-04-28 00:37:45 +08:00
Kelvin Clement Mwinuka
6ad3b7baab Exported EchoVault interface now onlu contains the keyspace methods. All other methods are private. Private methods are accessed using the reflect package in the test folder 2024-04-26 02:33:35 +08:00
Kelvin Mwinuka
d7c3509533 Created 'constants' package for const.go file and 'types' package for shared and exported types 2024-04-01 18:32:01 +08:00
Kelvin Mwinuka
f061af6de6 Implemented tests for sorted set API 2024-03-31 05:55:26 +08:00
Kelvin Mwinuka
8a8a3573bf ZSCORE API now returns nil if there are no scores to return 2024-03-29 04:42:02 +08:00
Kelvin Mwinuka
d7fd7616a3 Implemented outward-facing API for sorted set module commands 2024-03-29 03:42:49 +08:00
Kelvin Mwinuka
76568285ab Implemented outward-facing API for SET module commands 2024-03-28 22:52:32 +08:00
Kelvin Mwinuka
1d15b89b87 Created outward-facing API for hash module commands 2024-03-28 21:31:14 +08:00
Kelvin Mwinuka
ede32b481f Created outward-facing API or generic module commands 2024-03-28 19:36:55 +08:00
Kelvin Mwinuka
bc188cfea4 Moved some types into internal folder as they will do not need to be exported. Changed GetState method to getState to make it private to the echovault package 2024-03-26 20:26:48 +08:00
Kelvin Mwinuka
7fac4143f5 Moved utils.go file to internals folder 2024-03-26 14:00:18 +08:00