Skip to content

Commit

Permalink
Add race detector to tests (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshtin committed Apr 27, 2020
1 parent 65b0884 commit 69dea86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ IMPORT_ROOT := go.temporal.io/temporal
# general build-product folder, cleaned as part of `make clean`
BUILD := .build

TEST_TIMEOUT := 2m
TEST_ARG ?= -race -v -timeout $(TEST_TIMEOUT)

INTEG_TEST_ROOT := ./test
COVER_ROOT := $(BUILD)/coverage
UT_COVER_FILE := $(COVER_ROOT)/unit_test_cover.out
Expand Down
5 changes: 2 additions & 3 deletions internal/internal_task_pollers.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,14 @@ import (
"github.com/opentracing/opentracing-go"
"github.com/pborman/uuid"
"github.com/uber-go/tally"
filterpb "go.temporal.io/temporal-proto/filter"
commonpb "go.temporal.io/temporal-proto/common"
"go.uber.org/zap"

decisionpb "go.temporal.io/temporal-proto/decision"
eventpb "go.temporal.io/temporal-proto/event"
executionpb "go.temporal.io/temporal-proto/execution"
filterpb "go.temporal.io/temporal-proto/filter"
tasklistpb "go.temporal.io/temporal-proto/tasklist"
"go.temporal.io/temporal-proto/workflowservice"
"go.uber.org/zap"

"go.temporal.io/temporal/internal/common"
"go.temporal.io/temporal/internal/common/backoff"
Expand Down

0 comments on commit 69dea86

Please sign in to comment.