Skip to content

Mbfreder patch 1#4

Open
mbfreder wants to merge 5 commits into
developfrom
mbfreder-patch-1
Open

Mbfreder patch 1#4
mbfreder wants to merge 5 commits into
developfrom
mbfreder-patch-1

Conversation

@mbfreder

Copy link
Copy Markdown
Owner

No description provided.

Comment on lines +76 to +85
def run_command(self, cmd):
Popen(cmd.split(" ")).communicate()

def sleep_1s(self):
time.sleep(SLEEP_TIME)

def invoke_function(self, port):
return requests.post(
f"http://localhost:{port}/2015-03-31/functions/function/invocations", json={}
)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I don't know if breaking the main method to its granularity adds or removes from the readability of create_container_and_invoke_function method.

Please note that this is a nit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants