Skip to content

Commit

Permalink
Merge pull request #13468 from code-dot-org/dmsTest
Browse files Browse the repository at this point in the history
Run non-test DMS tasks.
  • Loading branch information
ashercodeorg committed Mar 2, 2017
2 parents fd519ba + 937a7df commit 75858f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/cron/dms_tasks
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def main
dms_client = Aws::DatabaseMigrationService::Client.new
dms_client.describe_replication_tasks.replication_tasks.each do |replication_task|
task_name = replication_task.replication_task_identifier
next if task_name.start_with? 'test'

task_arn = replication_task.replication_task_arn
# TODO(asher): Gracefully handle the case when the DMS task has never been run.
task_execution_time = replication_task.replication_task_stats.elapsed_time_millis / 1000
Expand Down

0 comments on commit 75858f8

Please sign in to comment.