Skip to content

Commit 16824d5

Browse files
author
Bret Ambrose
committed
autopep
1 parent 177aaad commit 16824d5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

builder/actions/setup_event_stream_echo_server.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
environment variables, secrets, files, etc. that is used to build up the testing environment.
1212
"""
1313

14+
1415
class SetupEventStreamEchoServer(Action):
1516
""" Set up an event stream echo server for testing eventstream bindings """
1617

@@ -27,7 +28,8 @@ def _build_and_run_eventstream_echo_server(self, env):
2728
java_sdk_dir = env.shell.mktemp()
2829
print(f"******************Cloning java device sdk into {java_sdk_dir}")
2930

30-
env.shell.exec(["git", "clone", "https://github.com/aws/aws-iot-device-sdk-java-v2"], working_dir=java_sdk_dir, check=True)
31+
env.shell.exec(["git", "clone", "https://github.com/aws/aws-iot-device-sdk-java-v2"],
32+
working_dir=java_sdk_dir, check=True)
3133

3234
sdk_dir = os.path.join(java_sdk_dir, "aws-iot-device-sdk-java-v2", "sdk")
3335
env.shell.pushd(sdk_dir)
@@ -45,7 +47,8 @@ def _build_and_run_eventstream_echo_server(self, env):
4547
target_class_path = os.path.join(sdk_dir, "target", "classes")
4648
directory_separator = os.pathsep
4749

48-
echo_server_command = ["java", "-Daws.crt.log.level=Trace", "-Daws.crt.log.destination=File", "-Daws.crt.log.filename=/tmp/echo.txt", "-classpath", f"{test_class_path}{directory_separator}{target_class_path}{directory_separator}{classpath}", "software.amazon.awssdk.eventstreamrpc.echotest.EchoTestServiceRunner", "127.0.0.1", "8033"]
50+
echo_server_command = ["java", "-Daws.crt.log.level=Trace", "-Daws.crt.log.destination=File", "-Daws.crt.log.filename=/tmp/echo.txt", "-classpath",
51+
f"{test_class_path}{directory_separator}{target_class_path}{directory_separator}{classpath}", "software.amazon.awssdk.eventstreamrpc.echotest.EchoTestServiceRunner", "127.0.0.1", "8033"]
4952

5053
print(f'Echo server command: {echo_server_command}')
5154

0 commit comments

Comments
 (0)