From af118d0f9d2eb81ba419d534af660d7aec99ba67 Mon Sep 17 00:00:00 2001 From: Rishat Fayzullin Date: Thu, 13 Jun 2024 15:02:34 +0300 Subject: [PATCH] Changes description --- CHANGES/1510.bugfix.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 CHANGES/1510.bugfix.rst diff --git a/CHANGES/1510.bugfix.rst b/CHANGES/1510.bugfix.rst new file mode 100644 index 00000000..2b712404 --- /dev/null +++ b/CHANGES/1510.bugfix.rst @@ -0,0 +1,11 @@ +Fail redis and mongo tests if incorrect URI provided + some storages tests refactoring + +If incorrect URIs provided to "--redis" and/or "--mongo" options tests should fail with errors instead of skipping. +Otherwise the next scenario is possible: + 1) developer breaks RedisStorage and/or MongoStorage code + 2) tests are run with incorrect redis and/or mongo URIsprovided by "--redis" and "--mongo" options (for example, wrong port specified) + 3) tests pass because skipping doesn't fail tests run + 4) developer or reviewer doesn't notice that redis and/or mongo tests were skipped + 5) broken code gets in codebase + +Also some refactorings done (related with storages and storages tests).