Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bucko909 committed Aug 29, 2024
1 parent fbafb9a commit 6c4d62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/carbon/tests/test_routers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
)

0 comments on commit 6c4d62d

Please sign in to comment.