diff --git a/tests/integration/buildcmd/test_build_cmd.py b/tests/integration/buildcmd/test_build_cmd.py index 4681a4f2eb..5fa03e6d32 100644 --- a/tests/integration/buildcmd/test_build_cmd.py +++ b/tests/integration/buildcmd/test_build_cmd.py @@ -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"} manifest_path = os.path.join(self.test_data_path, "Provided", "requirements.txt") cmdlist = self.get_command_list(