Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
onukristo committed Oct 11, 2024
1 parent 1f65c30 commit 718584f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ on:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

env:
GRADLE_OPTS: -Dorg.gradle.console=plain -Djava.security.egd=file:/dev/./urandom

jobs:
matrix_build:
name: "Matrix Build"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ void takingThreadDumpWorks() {

for (var threadInfo : threadInfos) {
var st = ThreadUtils.toString(threadInfo);
if (st.contains("at " + ThreadUtilsTest.class.getName())
if (st.contains("at ")
&& st.contains(ThreadUtilsTest.class.getName())
&& st.contains("group=\"main\"")) {
suitableThreadsFound++;
}
Expand Down

0 comments on commit 718584f

Please sign in to comment.