Merge pull request #16392 from jmhbnz/add-lazyfs-arm64-support

Add lazyfs support for arm64 robustness workflow
This commit is contained in:
Benjamin Wang 2023-08-10 08:14:33 +01:00 committed by GitHub
commit 196b1f5ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,10 @@ jobs:
test:
timeout-minutes: 210
runs-on: ${{ fromJson(inputs.runs-on) }}
container: golang:1.19-bullseye
container:
image: golang:1.19-bullseye
# Required for mounting fuse lazyfs
options: --privileged
defaults:
run:
shell: bash
@ -46,6 +49,9 @@ jobs:
set -euo pipefail
go clean -testcache
# Build LazyFS
apt update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
make install-lazyfs
# Use --failfast to avoid overriding report generated by failed test
GO_TEST_FLAGS="-v --count ${{ inputs.count }} --timeout ${{ inputs.testTimeout }} --failfast --run TestRobustness"
case "${ETCD_BRANCH}" in