You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some modules have option to run integration tests against real AWS services instead of LocalStack emulated services.
518
+
The test set executed during build is controlled by `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables. When set, only AWS integration tests are executed,
519
+
the rest is ignored.
520
+
521
+
[source,shell]
522
+
----
523
+
export AWS_ACCESS_KEY_ID=<access_key_id>
524
+
export AWS_SECRET_ACCESS_KEY=<secret_access_key>
525
+
526
+
mvn test
527
+
----
528
+
529
+
Tests require permissions to AWS services that they are testing. Necessary permission can be provided by
530
+
531
+
[source,shell]
532
+
----
533
+
aws iam create-user --user-name eventing-integrations-tests
534
+
535
+
# s3 sink + aws s3 source
536
+
aws iam attach-user-policy --user-name eventing-integrations-tests --policy-arn arn:aws:iam::aws:policy/AmazonS3FullAccess
0 commit comments