mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
tests: Rename linearizability tests to robustness
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Linearizability Nightly
|
||||
name: Robustness Nightly
|
||||
permissions: read-all
|
||||
on:
|
||||
# schedules always run against the main branch, hence we have to create separate jobs
|
||||
@@ -8,21 +8,21 @@ on:
|
||||
jobs:
|
||||
test-main:
|
||||
# GHA has a maximum amount of 6h execution time, we try to get done within 3h
|
||||
uses: ./.github/workflows/linearizability-template.yaml
|
||||
uses: ./.github/workflows/robustness-template.yaml
|
||||
with:
|
||||
ref: main
|
||||
count: 100
|
||||
testTimeout: 200m
|
||||
artifactName: test-main
|
||||
test-35:
|
||||
uses: ./.github/workflows/linearizability-template.yaml
|
||||
uses: ./.github/workflows/robustness-template.yaml
|
||||
with:
|
||||
ref: release-3.5
|
||||
count: 100
|
||||
testTimeout: 200m
|
||||
artifactName: test-35
|
||||
test-34:
|
||||
uses: ./.github/workflows/linearizability-template.yaml
|
||||
uses: ./.github/workflows/robustness-template.yaml
|
||||
with:
|
||||
ref: release-3.4
|
||||
count: 100
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Reusable Linearizability Workflow
|
||||
name: Reusable Robustness Workflow
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
@@ -43,12 +43,12 @@ jobs:
|
||||
make build
|
||||
;;
|
||||
esac
|
||||
- name: test-linearizability
|
||||
- name: test-robustness
|
||||
run: |
|
||||
# Use --failfast to avoid overriding report generated by failed test
|
||||
EXPECT_DEBUG=true GO_TEST_FLAGS='-v --count ${{ inputs.count }} --timeout ${{ inputs.testTimeout }} --failfast --run TestLinearizability' RESULTS_DIR=/tmp/linearizability make test-linearizability
|
||||
EXPECT_DEBUG=true GO_TEST_FLAGS='-v --count ${{ inputs.count }} --timeout ${{ inputs.testTimeout }} --failfast --run TestRobustness' RESULTS_DIR=/tmp/results make test-robustness
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: always()
|
||||
with:
|
||||
name: ${{ inputs.artifactName }}
|
||||
path: /tmp/linearizability/*
|
||||
path: /tmp/results/*
|
||||
@@ -1,9 +1,9 @@
|
||||
name: Linearizability
|
||||
name: Robustness
|
||||
on: [push, pull_request]
|
||||
permissions: read-all
|
||||
jobs:
|
||||
test:
|
||||
uses: ./.github/workflows/linearizability-template.yaml
|
||||
uses: ./.github/workflows/robustness-template.yaml
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
count: 15
|
||||
Reference in New Issue
Block a user