From 6c4d62d1a6aace19a8419f7844f6a6232c1c26db Mon Sep 17 00:00:00 2001 From: David Buckley Date: Thu, 29 Aug 2024 16:58:07 +0100 Subject: [PATCH] fix test --- lib/carbon/tests/test_routers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/carbon/tests/test_routers.py b/lib/carbon/tests/test_routers.py index f6309e8f..8cc3e476 100644 --- a/lib/carbon/tests/test_routers.py +++ b/lib/carbon/tests/test_routers.py @@ -54,5 +54,5 @@ def testBasic(self): router.addDestination(parseDestination(destination)) self.assertEqual( len(list(router.getDestinations('foo.bar'))), - settings['REPLICATION_FACTOR'] + len(DESTINATIONS) if plugin == 'constant' else settings['REPLICATION_FACTOR'] )