Diagnose interrupted agent SSE streams
This commit is contained in:
@@ -45,8 +45,16 @@ void main() {
|
||||
await expectLater(
|
||||
repository.runAgent('اختبار انقطاع البث'),
|
||||
throwsA(
|
||||
predicate(
|
||||
(error) => error.toString().contains('trace-closed-42'),
|
||||
allOf(
|
||||
predicate(
|
||||
(error) => error.toString().contains('trace-closed-42'),
|
||||
),
|
||||
predicate(
|
||||
(error) => error.toString().contains('آخر حدث: progress'),
|
||||
),
|
||||
predicate(
|
||||
(error) => error.toString().contains('عدد النبضات: 0'),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user