test(side): SSE 扫描出错直接失败,不再误判为未收到累积请求
This commit is contained in:
1 parent
f4d89c64d8
commit
234bd8bf8e
1 file changed
+3
@@ -267,6 +267,9 @@ func TestSideHTTPBusyIsolationClearAndReconnect(t *testing.T) {
|
||||
}
|
||||
}
|
||||
resp.Body.Close()
|
||||
if err := scanner.Err(); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if !seen {
|
||||
t.Fatal("reconnect did not return cumulative request")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user