diff --git a/eng/ci/integration-tests.yml b/eng/ci/integration-tests.yml index 6f8f69d9..40594ab2 100644 --- a/eng/ci/integration-tests.yml +++ b/eng/ci/integration-tests.yml @@ -47,7 +47,8 @@ extends: dependsOn: [] jobs: - template: /eng/templates/official/jobs/ci-e2e-tests.yml@self - - stage: RunLCTests - dependsOn: [] - jobs: - - template: /eng/templates/official/jobs/ci-lc-tests.yml@self +# Skipping consumption tests till pipeline is fixed +# - stage: RunLCTests +# dependsOn: [] +# jobs: +# - template: /eng/templates/official/jobs/ci-lc-tests.yml@self diff --git a/eng/ci/official-build.yml b/eng/ci/official-build.yml index 568fdf16..7a555e8a 100644 --- a/eng/ci/official-build.yml +++ b/eng/ci/official-build.yml @@ -72,7 +72,8 @@ extends: dependsOn: Build jobs: - template: /eng/templates/official/jobs/ci-docker-dedicated-tests.yml@self - - stage: RunLinuxConsumptionTests - dependsOn: Build - jobs: - - template: /eng/templates/official/jobs/ci-lc-tests.yml@self +# Skipping consumption tests till pipeline is fixed +# - stage: RunLinuxConsumptionTests +# dependsOn: Build +# jobs: +# - template: /eng/templates/official/jobs/ci-lc-tests.yml@self diff --git a/tests/test_setup.py b/tests/test_setup.py index fd6f0044..6f9c3edd 100644 --- a/tests/test_setup.py +++ b/tests/test_setup.py @@ -110,8 +110,13 @@ def compile_webhost(webhost_dir): print(f"Compiling Functions Host from {webhost_dir}") try: subprocess.run( - ["dotnet", "build", "WebJobs.Script.sln", "-o", "bin", - "/p:TreatWarningsAsErrors=false"], + [ + "dotnet", "build", "WebJobs.Script.sln", + "/m:1", # Disable parallel MSBuild + "/nodeReuse:false", # Prevent MSBuild node reuse + f"--property:OutputPath={webhost_dir}/bin", # Set output folder + "/p:TreatWarningsAsErrors=false" + ], check=True, cwd=str(webhost_dir), stdout=sys.stdout, @@ -120,7 +125,7 @@ def compile_webhost(webhost_dir): except subprocess.CalledProcessError: print( f"Failed to compile webhost in {webhost_dir}. " - ".NET Core SDK is required to build the solution. " + "A compatible .NET Core SDK is required to build the solution. " "Please visit https://aka.ms/dotnet-download", file=sys.stderr, )