Skip to content

Commit 556b726

Browse files
committed
Remove tests
1 parent 21d82d8 commit 556b726

File tree

2 files changed

+11
-41
lines changed

2 files changed

+11
-41
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"Projects": [
3+
{
4+
"Name": "Amazon.Lambda.RuntimeSupport",
5+
"Type": "Minor",
6+
"ChangelogMessages": [
7+
"Add response streaming support"
8+
]
9+
}
10+
]
11+
}

Libraries/test/Amazon.Lambda.RuntimeSupport.Tests/Amazon.Lambda.RuntimeSupport.UnitTests/ResponseStreamTests.cs

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -216,47 +216,6 @@ public async Task ReportErrorAsync_ReleasesCompletionSignal()
216216
Assert.True(stream.HasError);
217217
}
218218

219-
// ---- Property 6: Size Limit Enforcement ----
220-
221-
/// <summary>
222-
/// Property 6: Size Limit Enforcement — single write exceeding limit throws.
223-
/// Validates: Requirements 3.6, 3.7
224-
/// </summary>
225-
[Theory]
226-
[InlineData(21 * 1024 * 1024)]
227-
public async Task SizeLimit_SingleWriteExceedingLimit_Throws(int writeSize)
228-
{
229-
var (stream, _) = CreateWiredStream();
230-
var data = new byte[writeSize];
231-
232-
await Assert.ThrowsAsync<InvalidOperationException>(() => stream.WriteAsync(data));
233-
}
234-
235-
/// <summary>
236-
/// Property 6: Size Limit Enforcement — multiple writes exceeding limit throws.
237-
/// Validates: Requirements 3.6, 3.7
238-
/// </summary>
239-
[Fact]
240-
public async Task SizeLimit_MultipleWritesExceedingLimit_Throws()
241-
{
242-
var (stream, _) = CreateWiredStream();
243-
244-
await stream.WriteAsync(new byte[10 * 1024 * 1024]);
245-
await Assert.ThrowsAsync<InvalidOperationException>(
246-
() => stream.WriteAsync(new byte[11 * 1024 * 1024]));
247-
}
248-
249-
[Fact]
250-
public async Task SizeLimit_ExactlyAtLimit_Succeeds()
251-
{
252-
var (stream, _) = CreateWiredStream();
253-
var data = new byte[20 * 1024 * 1024];
254-
255-
await stream.WriteAsync(data);
256-
257-
Assert.Equal(data.Length, stream.BytesWritten);
258-
}
259-
260219
// ---- Property 19: Writes After Completion Rejected ----
261220

262221
/// <summary>

0 commit comments

Comments
 (0)