diff --git a/.github/workflows/e2e-matrix.yml b/.github/workflows/e2e-matrix.yml index 26c5687041d98..c59fc191ee217 100644 --- a/.github/workflows/e2e-matrix.yml +++ b/.github/workflows/e2e-matrix.yml @@ -159,7 +159,6 @@ jobs: YARN_REGISTRY: http://localhost:4872 NX_VERBOSE_LOGGING: ${{ 'true' }} NX_E2E_SKIP_BUILD_CLEANUP: ${{ 'true' }} - NX_E2E_SKIP_DAEMON_CLEANUP: ${{ 'true' }} NX_CACHE_DIRECTORY: ${{ matrix.os-cache-dir }} - name: Setup tmate session diff --git a/.github/workflows/e2e-windows.yml b/.github/workflows/e2e-windows.yml index 2f021bbe83156..ab9d6f7773373 100644 --- a/.github/workflows/e2e-windows.yml +++ b/.github/workflows/e2e-windows.yml @@ -77,7 +77,6 @@ jobs: YARN_REGISTRY: http://localhost:4872 NX_VERBOSE_LOGGING: ${{ 'true' }} NX_E2E_SKIP_BUILD_CLEANUP: ${{ 'true' }} - NX_E2E_SKIP_DAEMON_CLEANUP: ${{ 'true' }} NX_CACHE_DIRECTORY: ./nx-cache - name: Setup tmate session diff --git a/e2e/utils/index.ts b/e2e/utils/index.ts index bc60cdd1d323d..b69e4cbbacdcb 100644 --- a/e2e/utils/index.ts +++ b/e2e/utils/index.ts @@ -302,10 +302,6 @@ export async function killPorts(port?: number): Promise { // Useful in order to cleanup space during CI to prevent `No space left on device` exceptions export async function cleanupProject() { if (isCI) { - // Stopping the daemon is not required for tests to pass, but it cleans up background processes - if (process.env.NX_E2E_SKIP_DAEMON_CLEANUP !== 'true') { - runCLI('reset'); - } try { removeSync(tmpProjPath()); } catch (e) {}