Gate Android polling behind realtime health
This commit is contained in:
@@ -62,7 +62,7 @@ test("android realtime client always clears the active connection after stream s
|
||||
|
||||
assert.match(
|
||||
source,
|
||||
/try\s*\{[\s\S]{0,1200}int statusCode = connection\.getResponseCode\(\);[\s\S]{0,220}throw new IOException\("REALTIME_STREAM_HTTP_" \+ statusCode\);[\s\S]{0,2000}finally\s*\{\s*activeConnection = null;\s*connection\.disconnect\(\);\s*\}/,
|
||||
/try\s*\{[\s\S]{0,1200}int statusCode = connection\.getResponseCode\(\);[\s\S]{0,220}throw new IOException\("REALTIME_STREAM_HTTP_" \+ statusCode\);[\s\S]{0,2000}finally\s*\{[\s\S]{0,160}activeConnection = null;\s*connection\.disconnect\(\);\s*\}/,
|
||||
"expected non-2xx SSE setup failures to still flow through the connection cleanup finally block",
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user