mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Create a nightly job for linearizability tests
Start with a simple job against main that runs for 3h by repeating it an order of magnitude more often than the PR job. Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
This commit is contained in:
parent
6d0bf24e54
commit
7c9c1b6c1c
25
.github/workflows/linearizability-nightly.yaml
vendored
Normal file
25
.github/workflows/linearizability-nightly.yaml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: Linearizability Nightly
|
||||
on:
|
||||
# schedules always run against the main branch
|
||||
schedule:
|
||||
- cron: '25 9 * * *'
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
# GHA has a maximum amount of 6h execution time, we try to get done within 3h
|
||||
timeout-minutes: 180
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: "1.19.3"
|
||||
- run: |
|
||||
make gofail-enable
|
||||
make build
|
||||
mkdir -p /tmp/linearizability
|
||||
cat server/etcdserver/raft.fail.go
|
||||
EXPECT_DEBUG=true GO_TEST_FLAGS='-v --count 500 --failfast --run TestLinearizability' RESULTS_DIR=/tmp/linearizability make test-linearizability
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: always()
|
||||
with:
|
||||
path: /tmp/linearizability/*
|
Loading…
x
Reference in New Issue
Block a user