Commit c840a90
Improve SSE header handling and rename fallback test
Production changes:
- Replace Body.FlushAsync() with StartAsync() in SSE fallback implementation
- StartAsync() is more semantically correct for sending headers immediately
- Ensures headers reach client before awaiting first event
Test improvements:
- Rename test to MapSse_Fallback_ShouldWriteCorrectSseFormat (clearer intent)
- Remove Skip attribute - test is now reliable with continuous publishing
- Increase timeout to 30s for slower CI environments
- Set client timeout to infinite (test has its own 30s cancellation)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent ae3e091 commit c840a90
File tree
2 files changed
+6
-6
lines changed- SWEN3.Paperless.RabbitMq.Tests/Unit
- SWEN3.Paperless.RabbitMq/Sse
2 files changed
+6
-6
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
| 118 | + | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
0 commit comments