Skip to content

Commit

Permalink
Create a nightly job for linearizability tests
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tjungblu committed Dec 7, 2022
1 parent 6d0bf24 commit 7c9c1b6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/linearizability-nightly.yaml
Original file line number Diff line number Diff line change
@@ -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/*

0 comments on commit 7c9c1b6

Please sign in to comment.