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@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 with: go-version: "1.19.5" - run: | make gofail-enable make build mkdir -p /tmp/linearizability cat server/etcdserver/raft.fail.go EXPECT_DEBUG=true GO_TEST_FLAGS='-v --count 300 --failfast --run TestLinearizability --timeout=170m' RESULTS_DIR=/tmp/linearizability make test-linearizability - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 if: always() with: path: /tmp/linearizability/*