Skip to content

Commit 3f8a5b6

Browse files
Minor fixes on the integration tests (#444)
*Issue description:* The tests failed to pass due to misconfigurations in the existing test cases. *Description of changes:* 1. Update Dotnet EC2 ASG test to use latest artifacts for CWA integration test. 2. Fix the download URL for CWA integration test. Changes verified in https://github.com/aws/amazon-cloudwatch-agent/actions/runs/17629397593/job/50160418081. --------- Co-authored-by: Mahad Janjua <134644284+majanjua-amzn@users.noreply.github.com>
1 parent def74ee commit 3f8a5b6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/dotnet-ec2-asg-test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ jobs:
9393
# Get staging distro file from staging bucket
9494
echo GET_ADOT_DISTRO_COMMAND="aws s3 cp s3://adot-autoinstrumentation-dotnet-staging/${{ env.ADOT_DISTRO_NAME }} ./${{ env.ADOT_DISTRO_NAME }} && unzip -d dotnet-distro ${{ env.ADOT_DISTRO_NAME }}" >> $GITHUB_ENV
9595
else
96-
# After Release will switch to latest tag instead of hard code version for canary purpose
97-
echo GET_ADOT_DISTRO_COMMAND="wget -O aws-distro-opentelemetry-dotnet-instrumentation-linux-glibc-x64.zip https://github.com/aws-observability/aws-otel-dotnet-instrumentation/releases/download/v1.2.0/aws-distro-opentelemetry-dotnet-instrumentation-linux-glibc-x64.zip && unzip -d dotnet-distro aws-distro-opentelemetry-dotnet-instrumentation-linux-glibc-x64.zip" >> $GITHUB_ENV
96+
echo GET_ADOT_DISTRO_COMMAND="wget -O aws-distro-opentelemetry-dotnet-instrumentation-linux-glibc-x64.zip https://github.com/aws-observability/aws-otel-dotnet-instrumentation/releases/latest/download/aws-distro-opentelemetry-dotnet-instrumentation-linux-glibc-x64.zip && unzip -d dotnet-distro aws-distro-opentelemetry-dotnet-instrumentation-linux-glibc-x64.zip" >> $GITHUB_ENV
9897
fi
9998
10099
- name: Set Get CW Agent command environment variable

.github/workflows/java-ec2-ubuntu-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
- name: Set Get CW Agent command environment variable
101101
run: |
102102
if [ "${{ github.event.repository.name }}" = "amazon-cloudwatch-agent" ]; then
103-
echo GET_CW_AGENT_DEB_COMMAND= "aws s3 cp s3://${{ secrets.S3_INTEGRATION_BUCKET }}/integration-test/binary/${{ github.sha }}/ubuntu/amd64/latest/amazon-cloudwatch-agent.deb ./cw-agent.deb" >> $GITHUB_ENV
103+
echo GET_CW_AGENT_DEB_COMMAND= "aws s3 cp s3://${{ secrets.S3_INTEGRATION_BUCKET }}/integration-test/binary/${{ github.sha }}/linux/amd64/amazon-cloudwatch-agent.deb ./cw-agent.deb" >> $GITHUB_ENV
104104
else
105105
echo GET_CW_AGENT_DEB_COMMAND="wget -O cw-agent.deb https://amazoncloudwatch-agent-${{ inputs.aws-region }}.s3.${{ inputs.aws-region }}.amazonaws.com/ubuntu/amd64/latest/amazon-cloudwatch-agent.deb" >> $GITHUB_ENV
106106
fi

0 commit comments

Comments
 (0)