## Flaky Test * **Test Name:** TestFetch – ec2 * **Link:** https://github.com/elastic/beats/blob/8fce110040dd445b2cd3f5a3b95e67dddab31b0a/x-pack/metricbeat/module/aws/ec2/ec2_integration_test.go#L28 * **Branch:** master * **Artifact Link:** [build logs](https://beats-ci.elastic.co/job/Beats/job/beats/job/master/312/artifact/x-pack/metricbeat/build/TEST-go-integration-aws.out/*view*/) [build logs backup](https://gist.github.com/v1v/fc6a0f11aed60b504fb338fcab0bece2) (if the first link got broke) * **Notes:** @kaiyan-sheng dig deeper and found that there is no metric collected by ec2 metricset, which means there is no CloudWatch metrics for EC2 yet. ### Stack Trace ``` ec2_integration_test.go:28: Error Trace: ec2_integration_test.go:28 Error: Should NOT be empty, but was [] Test: TestFetch ``` ## How to reproduce it - Go to [build](https://beats-ci.elastic.co/job/Beats/job/beats/job/master/build?delay=0sec) - Select `awsCloudTests` - Unselect `windowsTest` - Click on `Build`
Flaky Test
beats/x-pack/metricbeat/module/aws/ec2/ec2_integration_test.go
Line 28 in 8fce110
Stack Trace
How to reproduce it
awsCloudTestswindowsTestBuild