Skip to content

Commit

Permalink
refactor: add wait to account for dd batch
Browse files Browse the repository at this point in the history
  • Loading branch information
InesNi committed Jan 25, 2024
1 parent 3e2cdee commit 7fd190a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ class OTelReporter {
if (this.playwrightReporter) {
await this.playwrightReporter.cleanup('playwright');
}
await new Promise((resolve) => setTimeout(resolve, 10000));
await this.traceConfig.shutDown();
return done();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ async function ensureTaskExists(context) {
command: [
'--config=/etc/ecs/container-insights/otel-task-metrics-config.yaml'
],
environment: [
secrets: [
{
name: 'AOT_CONFIG_CONTENT',
valueFrom: `arn:aws:ssm:${context.region}:${context.accountId}:parameter/artilleryio/OTEL_COLLECTOR_CONFIG`
Expand Down

0 comments on commit 7fd190a

Please sign in to comment.