Skip to content
Merged
Show file tree
Hide file tree
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
37 changes: 0 additions & 37 deletions eng/ci/docker-consumption-tests.yml

This file was deleted.

4 changes: 0 additions & 4 deletions eng/ci/official-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ extends:
PoolName: 1es-pool-azfunc
ArtifactFeed: 'internal/PythonWorker_Internal_PublicPackages'
NuGetServiceConnection: 'PythonWorker_Internal_PublicPackages'
- stage: RunWorkerDockerConsumptionTests
dependsOn: BuildPythonWorker
jobs:
- template: /eng/templates/official/jobs/ci-docker-consumption-tests.yml@self
- stage: RunWorkerDockerDedicatedTests
dependsOn: BuildPythonWorker
jobs:
Expand Down
25 changes: 24 additions & 1 deletion eng/templates/jobs/ci-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,30 @@ jobs:
echo "Disk space after cleanup:"
df -h
displayName: 'Free disk space'


- bash: |
echo "Memory before cleanup:"
free -h

# Stop Docker daemon to reclaim memory used by the daemon itself
# (docker system prune above removes artifacts but the daemon stays resident)
sudo systemctl stop docker || true
sudo systemctl stop docker.socket || true
sudo systemctl stop containerd || true

# Stop background services not needed for unit tests
sudo systemctl stop snapd || true
sudo systemctl stop unattended-upgrades || true
sudo systemctl stop packagekit || true

# Drop Linux filesystem caches (page cache, dentries, inodes)
sudo sync
sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches' || true

echo "Memory after cleanup:"
free -h
displayName: 'Free memory'

- task: UsePythonVersion@0
inputs:
versionSpec: $(PYTHON_VERSION)
Expand Down
65 changes: 0 additions & 65 deletions eng/templates/official/jobs/ci-docker-consumption-tests.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_libraries_to_install(cls):

@classmethod
def get_script_dir(cls):
return testutils.E2E_TESTS_FOLDER / 'durable_functions'
return testutils.EMULATOR_TESTS_FOLDER / 'durable_functions'

@testutils.retryable_test(3, 5)
def test_durable(self):
Expand All @@ -61,5 +61,5 @@ class TestDurableFunctionsStein(TestDurableFunctions):

@classmethod
def get_script_dir(cls):
return testutils.E2E_TESTS_FOLDER / 'durable_functions' / \
'durable_functions_stein'
return testutils.EMULATOR_TESTS_FOLDER / 'durable_functions' / \
'durable_functions_stein'
Loading