Skip to content

Commit 99f2c9d

Browse files
committed
Work on tests
1 parent 996fe42 commit 99f2c9d

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ public async Task MidstreamError_SetsErrorStateWithExceptionDetails()
269269
{
270270
var stream = ResponseStreamFactory.CreateStream(Array.Empty<byte>());
271271
await stream.WriteAsync(Encoding.UTF8.GetBytes("some data"));
272+
await Task.Delay(1000);
272273
throw new InvalidOperationException(errorMessage);
273274
};
274275

Libraries/test/TestServerlessApp/aws-lambda-tools-defaults.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"template": "serverless.template",
1414
"template-parameters": "",
1515
"docker-host-build-output-dir": "./bin/Release/lambda-publish",
16-
"s3-bucket" : "test-serverless-app-784dfb1d",
17-
"stack-name" : "test-serverless-app-784dfb1d",
18-
"function-architecture" : "x86_64"
19-
}
16+
"s3-bucket": "test-serverless-app",
17+
"stack-name": "test-serverless-app",
18+
"function-architecture": "x86_64"
19+
}

0 commit comments

Comments
 (0)