note
This commit is contained in:
parent
8ac4ff1e99
commit
7a6987a7f1
@ -466,7 +466,9 @@ def test_send_command():
|
|||||||
params = {'commands': ['#!/bin/bash\necho \'hello world\'']}
|
params = {'commands': ['#!/bin/bash\necho \'hello world\'']}
|
||||||
|
|
||||||
client = boto3.client('ssm', region_name='us-east-1')
|
client = boto3.client('ssm', region_name='us-east-1')
|
||||||
|
# note the timeout is determined server side, so this is a simpler check.
|
||||||
before = datetime.datetime.now()
|
before = datetime.datetime.now()
|
||||||
|
|
||||||
response = client.send_command(
|
response = client.send_command(
|
||||||
InstanceIds=['i-123456'],
|
InstanceIds=['i-123456'],
|
||||||
DocumentName=ssm_document,
|
DocumentName=ssm_document,
|
||||||
|
Loading…
Reference in New Issue
Block a user