Skip to content

Commit ed234c9

Browse files
committed
test: start e2e timeout after binary build
1 parent 8494515 commit ed234c9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/e2e/cli_smoke_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,12 @@ func runGoAnime(t *testing.T, args ...string) (int, string) {
8686
func runGoAnimeWithEnv(t *testing.T, env []string, args ...string) (int, string) {
8787
t.Helper()
8888

89+
binary := goanimeBinary(t)
90+
8991
ctx, cancel := context.WithTimeout(context.Background(), e2eCommandTimeout)
9092
defer cancel()
9193

92-
cmd := exec.CommandContext(ctx, goanimeBinary(t), args...)
94+
cmd := exec.CommandContext(ctx, binary, args...)
9395
cmd.Dir = repoRoot(t)
9496
cmd.Env = env
9597

0 commit comments

Comments
 (0)