SbloodyS commented on code in PR #18069:
URL:
https://github.com/apache/dolphinscheduler/pull/18069#discussion_r3019382520
##########
dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/resources/docker/task-emr-serverless/wiremock/mappings/get-job-run-success.json:
##########
@@ -0,0 +1,27 @@
+{
+ "request": {
+ "method": "GET",
+ "urlPattern": "/applications/.*/jobruns/.*"
+ },
+ "response": {
+ "status": 200,
+ "headers": {
+ "Content-Type": "application/json"
+ },
+ "jsonBody": {
+ "jobRun": {
+ "applicationId": "test-app-id-123",
+ "jobRunId": "test-job-run-id-001",
+ "name": "test name",
+ "arn":
"arn:aws:emr-serverless:us-east-1:123456789012:/applications/test-app-id-123/jobruns/test-job-run-id-001",
+ "createdBy":
"arn:aws:iam::123456789012:role/EMRServerlessExecutionRole",
+ "createdAt": "2024-01-01T00:00:00Z",
+ "updatedAt": "2024-01-01T00:01:00Z",
+ "executionRole":
"arn:aws:iam::123456789012:role/EMRServerlessExecutionRole",
+ "state": "SUCCESS",
+ "stateDetails": "Job run completed successfully",
+ "releaseLabel": "emr-6.9.0"
Review Comment:
It's better to test against the latest version of emr 7.12
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]