Kelvin Mwinuka
|
182195ebc3
|
Added multi-database support to snapshot module
|
2024-07-01 06:05:46 +08:00 |
|
Kelvin Mwinuka
|
9b0d590171
|
Removed RaftBindPort config. Raft bind address and port are dynamically assigned on startup instead of configured manually. Replaced memberlist-port configuration with discovery-port.
|
2024-06-20 04:20:31 +08:00 |
|
Kelvin Clement Mwinuka
|
df2b481078
|
Removed ./testdata DataDir config parameter from setupServer in echovault test file. This parameter is now an empty string in order to force in-memory stores for raft store.
|
2024-06-13 17:05:38 +08:00 |
|
Kelvin Clement Mwinuka
|
33d6651928
|
Removed --in-memory config flag. InMemory is now inferred from whether the data directory was provided.
|
2024-06-13 16:37:30 +08:00 |
|
Kelvin Clement Mwinuka
|
cb99ff8993
|
rewriteAOF method in echovault.go now handles the rewrite synchronously. Removed newline character in Write method of append store. Added test case for REWRITEAOF command and restore from AOF.
|
2024-06-09 02:28:03 +08:00 |
|
Kelvin Clement Mwinuka
|
39b9e6474c
|
Moved TCP SAVE/LASTSAVE test to admin module
|
2024-06-06 18:05:11 +08:00 |
|
Kelvin Clement Mwinuka
|
c5f168a9a5
|
Test standalone snapshot persist and restore
|
2024-06-05 23:50:42 +08:00 |
|
Kelvin Clement Mwinuka
|
ee13c29c9a
|
Removed debug print statements in acl.go file
|
2024-06-05 21:44:00 +08:00 |
|
Kelvin Clement Mwinuka
|
555387494b
|
Replaced all time.After instances to time.Ticker
|
2024-06-02 17:55:15 +08:00 |
|
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
|
b7e691bbf1
|
Changed default memberlist config to DefaultWANConfig
|
2024-06-02 16:30:10 +08:00 |
|
Kelvin Clement Mwinuka
|
166e9a81fb
|
Shutdown raft nodes from the last one to the first one in echovault tests. This is to ensure the leader node is shutdown last.
|
2024-06-02 15:44:09 +08:00 |
|
Kelvin Clement Mwinuka
|
bbc53ffee5
|
Use time.After instead of custom clock wrappet for TTL key eviction when creating a new EchoVault instance.
|
2024-06-02 15:29:22 +08:00 |
|
Kelvin Clement Mwinuka
|
60f5d03ea7
|
Only fail ForwardCommand test if there's an error present.
|
2024-06-02 04:29:26 +08:00 |
|
Kelvin Clement Mwinuka
|
dd323f66b5
|
Renamed config variable name in echovault_test.go
|
2024-06-02 04:19:11 +08:00 |
|
Kelvin Clement Mwinuka
|
393700b71d
|
Updated TLS/mTLS listener log
|
2024-05-31 19:47:11 +08:00 |
|
Kelvin Clement Mwinuka
|
3bd09ab376
|
Added test coverage for empty command and write command to non-leader node
|
2024-05-31 19:31:08 +08:00 |
|
Kelvin Clement Mwinuka
|
5de2cc8a53
|
Admin tests are no longer parallel as module loading interferes with other test results. ForwardCommand test now retries until all values are found in a quorum or a 5 second limit is reached.
|
2024-05-31 18:55:50 +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
|
c7560ce9dd
|
Updated all test suites to include connection and server shutdown on cleanup.
|
2024-05-31 01:30:18 +08:00 |
|
Kelvin Clement Mwinuka
|
502e804459
|
Removed logic to get unexported methods from the echovault package in all tests.
|
2024-05-30 19:33:01 +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
|
e8840cbc35
|
Added test for forward command
|
2024-05-29 19:04:40 +08:00 |
|
Kelvin Clement Mwinuka
|
3202120626
|
Added client openssl files in order to faciliate MTLS testing. Implemented test of MTLS server.
|
2024-05-29 15:27:12 +08:00 |
|
Kelvin Clement Mwinuka
|
ae5a675929
|
Added test for TLS connection
|
2024-05-29 15:08:41 +08:00 |
|
Kelvin Clement Mwinuka
|
06ce6bfeaf
|
Instead of checking if a value is replicated across the entire cluster, only check if it's present in a cluster quorum. Fixed race conditions in pubsub API by replacing connections map with sync.Map
|
2024-05-28 20:26:03 +08:00 |
|
Kelvin Clement Mwinuka
|
7807569975
|
Created MakeCluster function to reuse logic for creating clusters. Created test files in raft and memberlist packages to add them to test coverage statistics.
|
2024-05-27 13:10:26 +08:00 |
|
Kelvin Clement Mwinuka
|
9904fcdbb7
|
Wait for cluster followers to join cluster before proceeding with raft test in echovault package.
|
2024-05-27 11:12:34 +08:00 |
|
Kelvin Clement Mwinuka
|
43361cdd42
|
Updated keyspace methods' signatures and made them all private. Ditched lock-per-key for a store-wide rwmutex. Updated HandlerFuncParams to match new keyspace method signatures.
|
2024-05-22 22:44:59 +08:00 |
|
Kelvin Clement Mwinuka
|
f894a531b0
|
Added happy path test case for data replication
|
2024-05-22 16:11:00 +08:00 |
|