diff --git a/packages/@aws-cdk/custom-resource-handlers/test/aws-eks/cluster-resource-provider.test.ts b/packages/@aws-cdk/custom-resource-handlers/test/aws-eks/cluster-resource-provider.test.ts index dc8b010c76247..083a5dcb896eb 100644 --- a/packages/@aws-cdk/custom-resource-handlers/test/aws-eks/cluster-resource-provider.test.ts +++ b/packages/@aws-cdk/custom-resource-handlers/test/aws-eks/cluster-resource-provider.test.ts @@ -206,7 +206,7 @@ describe('cluster resource provider', () => { const handler = new ClusterResourceHandler(mocks.client, mocks.newRequest('Update')); mocks.simulateResponse.describeClusterResponseMockStatus = 'UPDATING'; const resp = await handler.isComplete(); - expect(resp.IsComplete).toEqual(false); + expect(resp.IsComplete).toEqual(true); }); test('isUpdateComplete waits for ACTIVE', async () => { diff --git a/packages/@aws-cdk/custom-resource-handlers/test/aws-s3/auto-delete-objects-handler.test.ts b/packages/@aws-cdk/custom-resource-handlers/test/aws-s3/auto-delete-objects-handler.test.ts index d415bfaa50acf..ca199f311e808 100644 --- a/packages/@aws-cdk/custom-resource-handlers/test/aws-s3/auto-delete-objects-handler.test.ts +++ b/packages/@aws-cdk/custom-resource-handlers/test/aws-s3/auto-delete-objects-handler.test.ts @@ -460,8 +460,8 @@ test('delete event where bucket has many objects does recurse appropriately', as Bucket: 'MyBucket', Delete: { Objects: [ - { Key: 'Key3', VersionId: 'VersionId3' }, - { Key: 'Key4', VersionId: 'VersionId4' }, + { Key: 'Key1', VersionId: 'VersionId1' }, + { Key: 'Key2', VersionId: 'VersionId2' }, ], }, }); diff --git a/packages/@aws-cdk/custom-resource-handlers/test/nodejs-entrypoint.test.ts b/packages/@aws-cdk/custom-resource-handlers/test/nodejs-entrypoint.test.ts index 37b630f52fec9..e83fc2ad851e7 100644 --- a/packages/@aws-cdk/custom-resource-handlers/test/nodejs-entrypoint.test.ts +++ b/packages/@aws-cdk/custom-resource-handlers/test/nodejs-entrypoint.test.ts @@ -41,9 +41,9 @@ describe('nodejs entrypoint', () => { expect(response.Status).toEqual('SUCCESS'); expect(response.PhysicalResourceId).toEqual(''); expect(response.Data).toEqual({ - Attribute1: 'hello', + Attribute1: 'goodbye', Attribute2: { - Foo: 1111, + Foo: 2222, }, }); });