fix: bind private temp storage for read-only late-slope runs

This commit is contained in:
Joseph Doherty
2026-11-10 18:18:11 -05:00
parent 351edb0a86
commit 681e1c1a9b
5 changed files with 58 additions and 8 deletions
@@ -17,7 +17,9 @@ set -euo pipefail
umask 077
app=ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests
test_class="$app.Sdk2LifecycleSoakTests"
mkdir -p /task/tmp /task/data /task/cli /task/results
[[ -d /task/tmp && ! -L /task/tmp && -d /tmp && ! -L /tmp ]]
[[ $(stat -c '%a' /task/tmp) == 700 && $(stat -c '%d:%i' /task/tmp) == "$(stat -c '%d:%i' /tmp)" ]]
mkdir -p /task/data /task/cli /task/results
export TMPDIR=/task/tmp XDG_DATA_HOME=/task/data DOTNET_CLI_HOME=/task/cli
export OTOPCUA_SDK2_SOAK=1 OTOPCUA_SDK2_SOAK_MODE=late-slope OTOPCUA_SDK2_SOAK_SECONDS=7200
export OTOPCUA_SDK2_SOAK_OUTPUT=/task/resources.jsonl OPCUA_CERTIFICATE_LEAK_TRACKING=1