mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
test(AWS Stream): Improve race condition handling
This commit is contained in:
parent
0d0498fc67
commit
efa7dae293
@ -50,7 +50,7 @@ describe('AWS - Stream Integration Test', function () {
|
||||
() => putKinesisRecord(streamName, message),
|
||||
{
|
||||
checkIsComplete: (events) =>
|
||||
events.reduce((data, event) => data + event.message, '').includes(functionName),
|
||||
events.reduce((data, event) => data + event.message, '').includes(message),
|
||||
}
|
||||
).then((events) => {
|
||||
const logs = events.reduce((data, event) => data + event.message, '');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user