Skip to content

Commit

Permalink
Test push rules off main (#1376)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston authored Mar 28, 2024
1 parent bc4aeba commit ae8a8cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/SyTest/Homeserver/Synapse.pm
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ sub start
account_data => $self->{redis_host} ne '' ? [ "stream_writer" ] : "master",
receipts => $self->{redis_host} ne '' ? [ "stream_writer" ] : "master",
presence => $self->{redis_host} ne '' ? [ "stream_writer" ] : "master",
push => $self->{redis_host} ne '' ? [ "stream_writer" ] : "master",
typing => $self->{redis_host} ne '' ? [ "stream_writer" ] : "master",
},

Expand Down Expand Up @@ -1294,6 +1295,7 @@ sub generate_haproxy_map
^/_matrix/client/(api/v1|r0|v3|unstable)/keys/claim stream_writer
^/_matrix/client/(api/v1|r0|v3|unstable)/room_keys stream_writer
^/_matrix/client/(api/v1|r0|v3|unstable)/presence/ stream_writer
^/_matrix/client/(api/v1|r0|v3|unstable)/pushrules/ stream_writer
^/_matrix/client/(api/v1|r0|v3|unstable)/keys/upload frontend_proxy
Expand All @@ -1320,8 +1322,6 @@ EOCONFIG
sub generate_haproxy_get_map
{
return <<'EOCONFIG';
# pushrules should be here, but the tests seem to be racy.
# ^/_matrix/client/(api/v1|r0|v3|unstable)/pushrules/ client_reader
^/_matrix/client/(r0|v3)/user/[^/]*/account_data/ client_reader
^/_matrix/client/(r0|v3)/user/[^/]*/rooms/[^/]*/account_data/ client_reader
EOCONFIG
Expand Down

0 comments on commit ae8a8cf

Please sign in to comment.