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",