Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/integration/buildcmd/test_build_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1132,8 +1132,8 @@ def test_with_wrong_builder_specified_python_runtime(self, use_container):

# runtime is chosen based off current python version.
runtime = self._get_python_version()
# BuildMethod is set to the ruby2.7, this should cause failure.
overrides = {"Runtime": runtime, "CodeUri": "Provided", "Handler": "main.handler", "BuildMethod": "ruby2.7"}
# BuildMethod is set to the java8, this should cause failure.
overrides = {"Runtime": runtime, "CodeUri": "Provided", "Handler": "main.handler", "BuildMethod": "java8"}
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did "ruby2.7" not work for this test case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Recently we have released a change to unblock Ruby users to build their project from requiring a manifest file. In this test case, the project is provided a python manifest but this will not fail Ruby builder.

Copy link
Contributor

Choose a reason for hiding this comment

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

got it, thanks!

manifest_path = os.path.join(self.test_data_path, "Provided", "requirements.txt")

cmdlist = self.get_command_list(
Expand Down