Sayan Nandan
|
511e227f81
|
Enable BGSAVE to be configured via config file
|
4 years ago |
Sayan Nandan
|
3a84feb14e
|
Cleanup to use `BGSave` as a configuration object
Also a test for a config file with a custom BGSAVE has been added
|
4 years ago |
Sayan Nandan
|
f2f0d2d4bd
|
Enable bgsave config to be read from the cfg file
Now, the `bgsave` key can be read and parsed from the config file
|
4 years ago |
Sayan Nandan
|
20d0b3bf1f
|
Revert to using vector based tests
A custom testing macro would be made in the future.
For now, we will use the `QueryVec` based test to test the queries
|
4 years ago |
Sayan Nandan
|
f2b040e578
|
Add testing suite
The `testsuite` crate is a library which contains testing utils.
`testsuite` re-exports tdb-derive for ease of use.
|
4 years ago |
Sayan Nandan
|
0b901b0492
|
Add proc macro for tests
|
4 years ago |
Sayan Nandan
|
913cef85e2
|
Move `tdb-bench` into a separate crate
Since tdb-bench no longer needs to be with cli, it was moved
|
4 years ago |
Sayan Nandan
|
b3500ee3b9
|
Use jemalloc for non-MSVC targets
|
4 years ago |
Sayan Nandan
|
d366f887a9
|
Close transport once every test is over
|
4 years ago |
Sayan Nandan
|
d1a04bdf23
|
Manually drop server in tests
|
4 years ago |
Sayan Nandan
|
7dcf8b92d7
|
Enable tests for all queries
|
4 years ago |
Sayan Nandan
|
9d6ae62559
|
Use one thread for tests to avoid state collision
|
4 years ago |
Sayan Nandan
|
3ad2d573a0
|
Add tests for mupdate
|
4 years ago |
Sayan Nandan
|
7574e4bc58
|
Add tests for exists
|
4 years ago |
Sayan Nandan
|
ffaa1a563b
|
Add tests for mset
|
4 years ago |
Sayan Nandan
|
42a8d145a1
|
Fix mset and mupdate not detecting an action error
|
4 years ago |
Sayan Nandan
|
f8a1980898
|
Add tests for mget
|
4 years ago |
Sayan Nandan
|
d8c385bf2d
|
Add tests for del
|
4 years ago |
Sayan Nandan
|
ea8d9d2108
|
Add syntax error tests for get, set and update
|
4 years ago |
Sayan Nandan
|
cab2ce733b
|
Add tests for heya, get, set and update queries
|
4 years ago |
Sayan Nandan
|
096a0c901b
|
Remove unused functions and duplicates
`proc_query` is used by both by `tdb-bench` and `tsh` so it was moved.
Also, the `println`s in the query tests were moved into the macros
|
4 years ago |
Sayan Nandan
|
9064c0aca3
|
Enable tests for `get`, `mget` and `heya`
|
4 years ago |
Sayan
|
aeb5899050
|
Fix test in `server::config`
We're checking from a TOML `String` and not from a location
|
4 years ago |
Sayan Nandan
|
59a2b42615
|
Implement logging
|
4 years ago |
Sayan Nandan
|
432e19dd71
|
Make docker build use `latest` tag
|
4 years ago |
Sayan Nandan
|
fc274ff95f
|
Improve docs in server
|
4 years ago |
Sayan
|
993c828ee1
|
Fix `CMD` arguments in Dockerfile
|
4 years ago |
Sayan Nandan
|
40fea56801
|
Make some `fn`s `const`
|
4 years ago |
Sayan Nandan
|
fb38acd392
|
Implement BGSAVE
|
4 years ago |
Sayan
|
09d7e33f9d
|
Fix docker image being built twice
|
4 years ago |
Sayan
|
ae5da090ec
|
Don't ignore `heya` test
|
4 years ago |
Sayan Nandan
|
969c1ca684
|
Rollout v0.4.1
|
4 years ago |
Sayan
|
1797fa131d
|
Fix folder name in Dockerfile
|
4 years ago |
Sayan Nandan
|
8a3dd943ba
|
Update repository references
|
4 years ago |
Sayan Nandan
|
85662e1f83
|
Enable tsh to connect to different ports
|
4 years ago |
Sayan Nandan
|
0f89146b64
|
Use custom configuration for Dockerfile
|
4 years ago |
Sayan Nandan
|
f69bef7308
|
Improve terminal output and bump up version
We will show a syntax error when we get an invalid config file.
|
4 years ago |
Sayan Nandan
|
c26a319877
|
Bump up version
|
4 years ago |
Sayan Nandan
|
9d3e5db3a3
|
Enable container builds for multiple registries
|
4 years ago |
Sayan
|
693d99603e
|
Add funding link
|
4 years ago |
Sayan
|
20a138f79f
|
Add build for GH registry
|
4 years ago |
Sayan Nandan
|
b06dedc8bd
|
Enable configuration files to be used
|
4 years ago |
Sayan Nandan
|
340eaaebcb
|
Add support for IPv6 addressing
|
4 years ago |
Sayan Nandan
|
4881dbf258
|
Add todo to fix caching in the future
|
4 years ago |
Sayan Nandan
|
c8e548361f
|
Fix CI failure on macOS
|
4 years ago |
Sayan Nandan
|
914b1f06e3
|
Added port, host and noart options in config file
|
4 years ago |
Sayan Nandan
|
86d15120e4
|
Add methods to parse cli arguments
|
4 years ago |
Sayan Nandan
|
0690be4d4e
|
Add module to handle configuration files
|
4 years ago |
Sayan Nandan
|
308e57c846
|
Add `BuiltJSON` and `JSONBlob` objs to build JSON
|
4 years ago |
Sayan Nandan
|
3163b6a0e8
|
Add outline for `jget`
|
4 years ago |