Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Repeat flaky tests to see effect of context passing
Browse files Browse the repository at this point in the history
masih committed Oct 8, 2024
1 parent 5b6fd34 commit 40c47d6
Showing 2 changed files with 28 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test-flaky.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test Repeat Flaky

on:
pull_request:

jobs:
test:
name: ${{ matrix.test }} ${{ matrix.go }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- 1.22
- 1.23
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: false
- name: Repeat ${{ matrix.test }}
run: go test -v -timeout 30m -count 50 . --tags=theflakybunch
3 changes: 3 additions & 0 deletions f3_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build theflakybunch
// +build theflakybunch

package f3_test

import (

0 comments on commit 40c47d6

Please sign in to comment.