Skip to content

Commit

Permalink
Fix syntax errors in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
jada-slalom committed Feb 12, 2024
1 parent 903ebc9 commit 4b6d41b
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as ec2 from "aws-cdk-lib/aws-ec2";
import * as cdk from "aws-cdk-lib";
import { DatabaseCluster } from "aws-cdk-lib/aws-docdb";
import * as integ from "@aws-cdk/integ-tests-alpha";
import * as ec2 from 'aws-cdk-lib/aws-ec2';
import * as cdk from 'aws-cdk-lib';
import { DatabaseCluster } from 'aws-cdk-lib/aws-docdb';
import * as integ from '@aws-cdk/integ-tests-alpha';

/*
* Stack verification steps:
Expand All @@ -10,19 +10,19 @@ import * as integ from "@aws-cdk/integ-tests-alpha";

const app = new cdk.App();

const stack = new cdk.Stack(app, "aws-cdk-docdb-integ-cluster-retain");
const stack = new cdk.Stack(app, 'aws-cdk-docdb-integ-cluster-retain');

const vpc = ec2.Vpc.fromLookup(stack, "VPC", { isDefault: true });
new DatabaseCluster(stack, "Database", {
masterUser: { username: "clusteradmin" },
const vpc = ec2.Vpc.fromLookup(stack, 'VPC', { isDefault: true });
new DatabaseCluster(stack, 'Database', {
masterUser: { username: 'clusteradmin' },
instanceType: ec2.InstanceType.of(
ec2.InstanceClass.T3,
ec2.InstanceSize.MEDIUM
ec2.InstanceSize.MEDIUM,
),
vpc,
removalPolicy: cdk.RemovalPolicy.RETAIN,
});

new integ.IntegTest(app, "DocdbTest", {
new integ.IntegTest(app, 'DocdbTest', {
testCases: [stack],
});

0 comments on commit 4b6d41b

Please # to comment.