Skip to content

Commit

Permalink
set unit test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
huanglongchao committed Mar 16, 2024
1 parent d93635f commit 21b029b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
build:

runs-on: ubuntu-latest
timeout-minutes: 15

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<configuration>
<testNGArtifactName>none:none</testNGArtifactName>
<junitArtifactName>org.junit:com.springsource.org.junit</junitArtifactName>
<argLine>@{argLine} -Xmx4096m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Dfile.encoding=UTF8</argLine>
<argLine>@{argLine} -Xmx6144m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Dfile.encoding=UTF8</argLine>
<includes>
<!-- 指定单元测试执行范围 -->
<include>**/*Test.java</include>
Expand Down

0 comments on commit 21b029b

Please sign in to comment.