Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions .github/workflows/nightly-flake.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: nightly-flake
# The nightly-gauntlet runs tests that are either too flaky or too slow to block
# every PR.
name: nightly-gauntlet
on:
schedule:
# Every day at midnight
- cron: "0 0 * * *"
workflow_dispatch:
# For testing purposes
# push:
# paths:
# - ".github/workflows/nightly-flake.yaml"
push:
branch:
- nightly-gauntlet
jobs:
test-go-race:
# While GitHub's toaster runners are likelier to flake, we want consistency
Expand Down Expand Up @@ -38,3 +39,20 @@ jobs:
if: always()
with:
api-key: ${{ secrets.DATADOG_API_KEY }}

test-go-timing:
# We run these tests with p=1 so we don't need a lot of compute.
runs-on: "buildjet-2vcpu-ubuntu-2204"
timeout-minutes: 10
steps:
- uses: actions/checkout@v3

- uses: ./.github/actions/setup-go
- name: Run Tests
run: |
gotestsum --junitfile="gotests.xml" -- --tags="timing" -p=1 -run='_Timing/' ./...

- uses: ./.github/actions/upload-datadog
if: always()
with:
api-key: ${{ secrets.DATADOG_API_KEY }}
1 change: 1 addition & 0 deletions scaletest/agentconn/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ func Test_Runner(t *testing.T) {

//nolint:paralleltest // Measures timing as part of the test.
func Test_Runner_Timing(t *testing.T) {
testutil.SkipIfNotTiming(t)
//nolint:paralleltest
t.Run("Direct+Hold", func(t *testing.T) {
client, agentID := setupRunnerTest(t)
Expand Down