diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-12-09 13:56:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 13:56:06 -0500 |
commit | 344ab0b53abc0291d79882f8bdc1a853f7495ed4 (patch) | |
tree | 9afde738b258c6f42e3e27458c63693546a3dd31 /tests | |
parent | Skip the SAML tests if xmlsec1 isn't available. (#8905) (diff) | |
download | synapse-344ab0b53abc0291d79882f8bdc1a853f7495ed4.tar.xz |
Default to blacklisting reserved IP ranges and add a whitelist. (#8870)
This defaults `ip_range_blacklist` to reserved IP ranges and also adds an `ip_range_whitelist` setting to override it.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/replication/test_multi_media_repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/replication/test_multi_media_repo.py b/tests/replication/test_multi_media_repo.py index 48b574ccbe..83afd9fd2f 100644 --- a/tests/replication/test_multi_media_repo.py +++ b/tests/replication/test_multi_media_repo.py @@ -48,7 +48,7 @@ class MediaRepoShardTestCase(BaseMultiWorkerStreamTestCase): self.user_id = self.register_user("user", "pass") self.access_token = self.login("user", "pass") - self.reactor.lookups["example.com"] = "127.0.0.2" + self.reactor.lookups["example.com"] = "1.2.3.4" def default_config(self): conf = super().default_config() |