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
0108444d69
Replaced fmt.Println statements with log.Println.
...
Return "empty command" error from handleCommand method if an empty command is passed to the server.
Wait until connection is no longer nil in acl package tests.
2024-05-27 11:45:48 +08:00
Kelvin Clement Mwinuka
15191dccee
Implemented new param methods and testing through resp connection in set commands package
2024-05-26 08:41:29 +08:00
Kelvin Clement Mwinuka
193871ec72
Removed test folder and moved all commands tests to their respective internal modules. Moved api tests into echovault package. This change has been made because the speratate test folder is not idiomatic and caused test coverage report to not be generated.
2024-05-04 17:45:10 +08:00