diff --git a/tests/storage/databases/main/test_lock.py b/tests/storage/databases/main/test_lock.py
index 35f77052a7..6c4d44c05c 100644
--- a/tests/storage/databases/main/test_lock.py
+++ b/tests/storage/databases/main/test_lock.py
@@ -66,9 +66,9 @@ class LockTestCase(unittest.HomeserverTestCase):
# Run the tasks to completion.
# To work around `Linearizer`s using a different reactor to sleep when
- # contended (#12841), we call `runUntilCurrent` on
- # `twisted.internet.reactor`, which is a different reactor to that used
- # by the homeserver.
+ # contended (https://github.com/matrix-org/synapse/issues/12841), we call
+ # `runUntilCurrent` on `twisted.internet.reactor`, which is a different
+ # reactor to that used by the homeserver.
assert isinstance(reactor, ReactorBase)
self.get_success(task1)
reactor.runUntilCurrent()
@@ -217,9 +217,9 @@ class ReadWriteLockTestCase(unittest.HomeserverTestCase):
# Run the tasks to completion.
# To work around `Linearizer`s using a different reactor to sleep when
- # contended (#12841), we call `runUntilCurrent` on
- # `twisted.internet.reactor`, which is a different reactor to that used
- # by the homeserver.
+ # contended (https://github.com/matrix-org/synapse/issues/12841), we call
+ # `runUntilCurrent` on `twisted.internet.reactor`, which is a different
+ # reactor to that used by the homeserver.
assert isinstance(reactor, ReactorBase)
self.get_success(task1)
reactor.runUntilCurrent()
@@ -269,9 +269,9 @@ class ReadWriteLockTestCase(unittest.HomeserverTestCase):
# Run the tasks to completion.
# To work around `Linearizer`s using a different reactor to sleep when
- # contended (#12841), we call `runUntilCurrent` on
- # `twisted.internet.reactor`, which is a different reactor to that used
- # by the homeserver.
+ # contended (https://github.com/matrix-org/synapse/issues/12841), we call
+ # `runUntilCurrent` on `twisted.internet.reactor`, which is a different
+ # reactor to that used by the homeserver.
assert isinstance(reactor, ReactorBase)
self.get_success(task1)
reactor.runUntilCurrent()
|