Skip to content

Commit

Permalink
missed var change
Browse files Browse the repository at this point in the history
  • Loading branch information
roger-zhangg committed Apr 19, 2024
1 parent 6e0c33e commit 0d94f51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/local_lambda/test_end_to_end.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def create_container(self, param, image):

def test_env_var_with_equal_sign(self):
image, rie, image_name = self.tagged_name("envvarcheck")
cmd = f"--name {image} -d -v {self.path_to_binary}:/local-lambda-runtime-server -p {self.PORT}:8080 --entrypoint /local-lambda-runtime-server/{rie} {image_name} {DEFAULT_1P_ENTRYPOINT} main.check_env_var_handler"
params = f"--name {image} -d -v {self.path_to_binary}:/local-lambda-runtime-server -p {self.PORT}:8080 --entrypoint /local-lambda-runtime-server/{rie} {image_name} {DEFAULT_1P_ENTRYPOINT} main.check_env_var_handler"

with self.create_container(cmd, image):
with self.create_container(params, image):
r = self.invoke_function()

self.assertEqual(b'"4=4"', r.content)
Expand Down

0 comments on commit 0d94f51

Please sign in to comment.