tests: Add support for lazyfs

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
Marek Siarkowicz
2022-11-04 15:44:01 +01:00
parent 6981e4820f
commit eb32d9cccc
15 changed files with 353 additions and 115 deletions

View File

@@ -12,14 +12,14 @@ jobs:
uses: ./.github/workflows/robustness-template.yaml
with:
etcdBranch: main
count: 100
count: 80
testTimeout: 200m
artifactName: main
main-arm64:
uses: ./.github/workflows/robustness-template-arm64.yaml
with:
etcdBranch: main
count: 100
count: 80
testTimeout: 200m
artifactName: main-arm64
runs-on: "['self-hosted', 'Linux', 'ARM64']"
@@ -27,7 +27,7 @@ jobs:
uses: ./.github/workflows/robustness-template.yaml
with:
etcdBranch: release-3.5
count: 100
count: 80
testTimeout: 200m
artifactName: release-35
release-35-arm64:
@@ -41,6 +41,6 @@ jobs:
uses: ./.github/workflows/robustness-template.yaml
with:
etcdBranch: release-3.4
count: 100
count: 80
testTimeout: 200m
artifactName: release-34

View File

@@ -39,6 +39,10 @@ jobs:
set -euo pipefail
go clean -testcache
# Build LazyFS
sudo apt-get -y 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

View File

@@ -7,6 +7,6 @@ jobs:
uses: ./.github/workflows/robustness-template.yaml
with:
etcdBranch: main
count: 15
count: 12
testTimeout: 30m
artifactName: main