Closed soyacz closed 1 month ago
LGTM, but I think we still need to clean up old tests / conftest setup
Yes, are there any relevant test cases that could stay?
LGTM, but I think we still need to clean up old tests / conftest setup
Yes, are there any relevant test cases that could stay?
No, all of them can be removed. As I mentioned before, they all test argus.db
module, which is no longer used.
LGTM, but I think we still need to clean up old tests / conftest setup
Yes, are there any relevant test cases that could stay?
No, all of them can be removed. As I mentioned before, they all test
argus.db
module, which is no longer used.
Ok, will remove it with other PR that enables tests in CI
@k0machi did you try running them?
@k0machi did you try running them?
No, I haven't
Ressurrecting unit-tests for backend. At first, introduced tests for generic results feature. Found few bugs and unneeded code along.
Tests are relying on containerized scylladb cluster (1 node) and reuse it for next tests runs for speed testing. Tests are designed in a way that can be run on the same db (without truncation). Although, there's an unused
truncate_all_tables
function in case it's needed (it adds few secs of overhead, so better not to use it).refs: https://github.com/scylladb/argus/issues/468