From 2d28d3ad8312a8b50eed4cd1f69c6a4340226e7e Mon Sep 17 00:00:00 2001 From: Lucas <12496191+lucashuy@users.noreply.github.com> Date: Wed, 18 Oct 2023 10:03:46 -0700 Subject: [PATCH] Use correct build and cwd folder when building nested stacks (#6100) --- tests/integration/buildcmd/test_build_cmd.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/integration/buildcmd/test_build_cmd.py b/tests/integration/buildcmd/test_build_cmd.py index 818b4b2c2c..e71a76355b 100644 --- a/tests/integration/buildcmd/test_build_cmd.py +++ b/tests/integration/buildcmd/test_build_cmd.py @@ -2438,9 +2438,11 @@ def test_nested_build(self): if SKIP_DOCKER_TESTS or SKIP_DOCKER_BUILD: self.skipTest(SKIP_DOCKER_MESSAGE) - cmdlist = self.get_command_list(use_container=True, cached=True, parallel=True) + cmdlist = self.get_command_list( + use_container=True, cached=True, parallel=True, build_dir=str(self.default_build_dir) + ) - command_result = run_command(cmdlist, cwd=self.working_dir) + command_result = run_command(cmdlist, cwd=self.scratch_dir) function_full_paths = [ "FunctionA",