Skip to content

Commit

Permalink
Explicitly disable sync caching for Synapse (#1259)
Browse files Browse the repository at this point in the history
All the tests assume that an initial `/sync` will return up-to-date
data.
  • Loading branch information
erikjohnston authored Jun 15, 2022
1 parent 441ec01 commit 8212ee9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/SyTest/Homeserver/Synapse.pm
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,11 @@ sub start
# Enable ephemeral message support (MSC2228)
enable_ephemeral_messages => "true",

# Disable caching of sync responses to make tests easier.
caches => {
sync_response_cache_duration => 0,
},

$self->{recaptcha_config} ? (
recaptcha_siteverify_api => $self->{recaptcha_config}->{siteverify_api},
recaptcha_public_key => $self->{recaptcha_config}->{public_key},
Expand Down

0 comments on commit 8212ee9

Please sign in to comment.