Skip to content

Commit

Permalink
tests: Limit dogtag memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislavlevin committed Feb 27, 2023
1 parent bb27b8a commit d3e3bfd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ python3 setup_containers.py || \
exit 1;
}

compose_execute $SHELL_CMD \
-c 'java -XX:+PrintFlagsFinal -version | grep -i HeapSize'
compose_execute $SHELL_CMD \
-c 'echo -e JAVA_OPTS=\"-Dcom.redhat.fips=false -Xmx64M\"\\nexport JAVA_OPTS >> /etc/pki/pki.conf ||:'

# collect list of all the installed packages
mkdir -p "$IPA_INSTALLED_PKGS_DIR"

Expand Down
5 changes: 5 additions & 0 deletions ipatests/azure/scripts/azure-run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@ python3 setup_containers.py || \
exit 1;
}

compose_execute $BASH_CMD \
-c 'java -XX:+PrintFlagsFinal -version | grep -i HeapSize'
compose_execute $BASH_CMD \
-c 'echo -e JAVA_OPTS=\"-Dcom.redhat.fips=false -Xmx64M\"\\nexport JAVA_OPTS >> /etc/pki/pki.conf ||:'

# collect list of all the installed packages
mkdir -p "$IPA_INSTALLED_PKGS_DIR"

Expand Down

0 comments on commit d3e3bfd

Please sign in to comment.