Fix smoke tests on windows
* Revert "Use --no-daemon on windows builds (#4000)"
This reverts commit
* Fix sporadic smoke test failure on Windows
MODIFY
.github/workflows/ci.yml
.github/workflows/ci.yml
@@ -192,8 +192,7 @@ jobs:
env:
S3_BUILD_CACHE_ACCESS_KEY_ID: ${{ secrets.S3_BUILD_CACHE_ACCESS_KEY_ID }}
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.S3_BUILD_CACHE_SECRET_KEY }}
- # using --no-daemon because windows builds have been sporadically running out of virtual memory
- run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-daemon
+ run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}
setup-muzzle-matrix:
runs-on: ubuntu-latest

MODIFY
.github/workflows/nightly-no-cache.yml
.github/workflows/nightly-no-cache.yml
@@ -151,8 +151,7 @@ jobs:
key: ${{ runner.os }}-gradle-wrapper-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- name: Test
- # using --no-daemon because windows builds have been sporadically running out of virtual memory
- run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-build-cache --no-daemon
+ run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-build-cache
# muzzle is intentionally not included in the nightly-no-cache build because
# it doesn't use gradle cache anyways and so is already covered by the normal nightly build

MODIFY
.github/workflows/nightly.yml
.github/workflows/nightly.yml
@@ -192,8 +192,7 @@ jobs:
env:
S3_BUILD_CACHE_ACCESS_KEY_ID: ${{ secrets.S3_BUILD_CACHE_ACCESS_KEY_ID }}
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.S3_BUILD_CACHE_SECRET_KEY }}
- # using --no-daemon because windows builds have been sporadically running out of virtual memory
- run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-daemon
+ run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}
setup-muzzle-matrix:
runs-on: ubuntu-latest

MODIFY
.github/workflows/patch-release-build.yml
.github/workflows/patch-release-build.yml
@@ -162,8 +162,7 @@ jobs:
git cherry-pick ${{ github.event.inputs.commits }}
- name: Test
- # using --no-daemon because windows builds have been sporadically running out of virtual memory
- run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-daemon
+ run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}
# muzzle is intentionally not included in the release workflows
# because any time a new library version is released to maven central it can fail,

MODIFY
.github/workflows/pr.yml
.github/workflows/pr.yml
@@ -191,8 +191,7 @@ jobs:
key: ${{ runner.os }}-gradle-wrapper-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- name: Test
- # using --no-daemon because windows builds have been sporadically running out of virtual memory
- run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-daemon
+ run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}
setup-muzzle-matrix:
runs-on: ubuntu-latest

MODIFY
.github/workflows/release-build.yml
.github/workflows/release-build.yml
@@ -97,8 +97,7 @@ jobs:
key: ${{ runner.os }}-gradle-wrapper-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- name: Test
- # using --no-daemon because windows builds have been sporadically running out of virtual memory
- run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-daemon
+ run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}
# muzzle is intentionally not included in the release workflows
# because any time a new library version is released to maven central it can fail,

MODIFY
smoke-tests/build.gradle.kts
smoke-tests/build.gradle.kts
@@ -44,7 +44,6 @@ dependencies {
tasks {
test {
inputs.files(project(":javaagent").tasks.getByName("fullJavaagentJar").outputs.files)
- maxParallelForks = 2
testLogging.showStandardStreams = true

Fix smoke tests on windows (#4011)

* Revert "Use --no-daemon on windows builds (#4000)"

This reverts commit c13063b5eac6ec3ee60f8a94bc967b4da4f196e2.

* Fix sporadic smoke test failure on Windows