File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change
1
+ Synapse: fix requests being routed to initial-synchrotron incorrectly.
Original file line number Diff line number Diff line change @@ -117,6 +117,12 @@ async def test_routes_to_synapse_workers_correctly(
117
117
118
118
assert len (matching_lines ) > 0 , f"Requests for { path } did not appear in the HAProxy logs"
119
119
for matching_line in matching_lines :
120
+ # During the upgrade tests these requests may NOSRV as Synapse processes are down
121
+ # We eventually succeed, so just ignore the requests that were retried
122
+ if " 503 " in matching_line and " synapse-main/<NOSRV> " in matching_line :
123
+ continue
124
+
125
+ # We know we end up here at least once as 2xx/401/405 won't match the above check
120
126
assert f"synapse-http-in synapse-{ backend } " in matching_line , f"{ path } was routed unexpectedly"
121
127
122
128
You can’t perform that action at this time.
0 commit comments