Skip to content

Commit

Permalink
Set ulimit for sharedclasscache multithread tests
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Rushton <srushton@redhat.com>
  • Loading branch information
lumpfish committed Feb 15, 2021
1 parent eacd8c2 commit d1651f7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions system/sharedClasses/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@
<variation>Mode110</variation>
<variation>Mode610</variation>
</variations>
<command>$(SYSTEMTEST_CMD_TEMPLATE) -test=SharedClasses -test-args=$(Q)sharedClassMode=SCM01,sharedClassTest=MultiThread$(Q); \
<!-- Some platforms may have max user processes too low by default for this test
- e.g. see https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1851 -->
<command>if [[ ! $(Q)$(PLATFORM)$(Q) == *$(Q)win$(Q)* ]] ; then ulimit -u 2048 $(AND_IF_SUCCESS) echo ulimit -u set to `ulimit -u`; fi; \
$(SYSTEMTEST_CMD_TEMPLATE) -test=SharedClasses -test-args=$(Q)sharedClassMode=SCM01,sharedClassTest=MultiThread$(Q); \
$(TEST_STATUS)</command>
<levels>
<level>extended</level>
Expand Down Expand Up @@ -261,7 +264,10 @@
<variation>Mode110</variation>
<variation>Mode610</variation>
</variations>
<command>$(SYSTEMTEST_CMD_TEMPLATE) -test=SharedClasses -test-args=$(Q)sharedClassMode=SCM23,sharedClassTest=MultiThread$(Q); \
<!-- Some platforms may have max user processes too low by default for this test
- e.g. see https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1851 -->
<command>if [[ ! $(Q)$(PLATFORM)$(Q) == *$(Q)win$(Q)* ]] ; then ulimit -u 2048 $(AND_IF_SUCCESS) echo ulimit -u set to `ulimit -u`; fi; \
$(SYSTEMTEST_CMD_TEMPLATE) -test=SharedClasses -test-args=$(Q)sharedClassMode=SCM23,sharedClassTest=MultiThread$(Q); \
$(TEST_STATUS)</command>
<levels>
<level>extended</level>
Expand Down

0 comments on commit d1651f7

Please sign in to comment.