We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fdc5f9 + 9f7ae6c commit 2ab4ad0Copy full SHA for 2ab4ad0
tests/shared/test_streamable_http.py
@@ -1156,6 +1156,12 @@ async def run_tool():
1156
assert result.content[0].type == "text"
1157
assert "Completed" in result.content[0].text
1158
1159
+ # Allow any pending notifications to be processed
1160
+ for _ in range(50):
1161
+ if captured_notifications:
1162
+ break
1163
+ await anyio.sleep(0.1)
1164
+
1165
# We should have received the remaining notifications
1166
assert len(captured_notifications) > 0
1167
0 commit comments