mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Add lazyfs support for arm64 robustness.
Signed-off-by: James Blair <mail@jamesblair.net>
This commit is contained in:
parent
43f10cbd57
commit
34c71d3eae
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user