Skip to content

Commit

Permalink
test: Enable Gradle caching, disable concurrent execution for TestCom…
Browse files Browse the repository at this point in the history
…pleteConfigSpec
  • Loading branch information
nhubbard committed May 9, 2024
1 parent 6865c55 commit 7342097
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
distribution: "temurin"
java-version: ${{ matrix.java_version }}
cache: "gradle"
- name: Build and Test with Gradle
env:
OSS_USER_TOKEN: ${{ secrets.OSS_USER_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import java.util.stream.Stream
import kotlin.concurrent.withLock

@TestInstance(TestInstance.Lifecycle.PER_CLASS)
@Execution(ExecutionMode.CONCURRENT)
@Execution(ExecutionMode.SAME_THREAD)
class TestCompleteConfigSpec {
val spec = NetworkBuffer
val size = NetworkBuffer.size
Expand Down

0 comments on commit 7342097

Please sign in to comment.