From 01c7c43010fd8dc00778f2741a328fd63c659a9d Mon Sep 17 00:00:00 2001 From: Dominic Evans Date: Wed, 22 Sep 2021 14:14:40 +0100 Subject: [PATCH] chore: bump up the test timeout to 10m We seem to be hitting `*** Test killed: ran too long (7m0s)` for the functional test(s), and whilst I do see a large number of hung goroutines in the backtrace, I can also see that it is mid teardown of the docker containers, so it seems to have finished the actual testing and might just be taking longer than usual to `docker stop` the kafka containers. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4714d7798..8f8fc6bdb 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ default: fmt get update test lint GO := go GOBUILD := CGO_ENABLED=0 $(GO) build $(BUILD_FLAG) -GOTEST := $(GO) test -gcflags='-l' -p 3 -v -race -timeout 6m -coverprofile=profile.out -covermode=atomic +GOTEST := $(GO) test -gcflags='-l' -p 3 -v -race -timeout 10m -coverprofile=profile.out -covermode=atomic FILES := $(shell find . -name '*.go' -type f -not -name '*.pb.go' -not -name '*_generated.go' -not -name '*_test.go') TESTS := $(shell find . -name '*.go' -type f -not -name '*.pb.go' -not -name '*_generated.go' -name '*_test.go')