From ba5deb7d6dd715dfbd04f5b10926c8bb7f056328 Mon Sep 17 00:00:00 2001 From: George MacRorie Date: Sat, 11 May 2024 18:08:18 +0100 Subject: [PATCH] chore(dagger): run unit tests 5 times repeatedly --- dagger/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dagger/main.go b/dagger/main.go index 7bf4548..982c6c2 100644 --- a/dagger/main.go +++ b/dagger/main.go @@ -64,7 +64,7 @@ func (m *Reverst) TestUnit( WithEnvVariable("CGO_ENABLED", "1"). WithMountedDirectory("/src", source). WithWorkdir("/src"). - WithExec([]string{"go", "test", "-race", "./..."}). + WithExec([]string{"go", "test", "-race", "-count=5", "./..."}). Stdout(ctx) if err != nil { return out, err