Skip to content

Commit d60bfd3

Browse files
Innokentii MokinInnokentii Mokin
authored andcommitted
fix tests
1 parent e3f07aa commit d60bfd3

4 files changed

Lines changed: 14 additions & 2 deletions

File tree

backend/golang/Makefile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,21 @@ lint:
2727
golangci-lint run --fix
2828

2929
test:
30+
ifeq ($(CI),true)
3031
go test -short ./...
32+
else ifeq ($(GITHUB_ACTIONS),true)
33+
go test -short ./...
34+
else
35+
go test -short -tags=large ./...
36+
endif
3137

3238
test-containers:
3339
@echo "Running tests with testcontainers..."
34-
USE_TESTCONTAINERS=true go test -v ./pkg/agent/memory/evolvingmemory/... -timeout=10m
40+
USE_TESTCONTAINERS=true go test -v -tags=large ./pkg/agent/memory/evolvingmemory/... -timeout=10m
3541

3642
test-backend-comparison:
3743
@echo "Running backend comparison tests with containers..."
38-
USE_TESTCONTAINERS=true ENABLE_BACKEND_COMPARISON_TESTS=true go test -v ./pkg/agent/memory/evolvingmemory/... -run=".*Comparison.*" -timeout=15m
44+
USE_TESTCONTAINERS=true ENABLE_BACKEND_COMPARISON_TESTS=true go test -v -tags=large ./pkg/agent/memory/evolvingmemory/... -run=".*Comparison.*" -timeout=15m
3945

4046
test-integration:
4147
go test -v ./pkg/dataprocessing/integration/... -timeout=90m

backend/golang/pkg/agent/memory/evolvingmemory/backend_comparison_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build large
2+
13
package evolvingmemory
24

35
import (

backend/golang/pkg/agent/memory/evolvingmemory/container_clients.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build large
2+
13
package evolvingmemory
24

35
import (

backend/golang/pkg/agent/memory/evolvingmemory/testcontainers.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build large
2+
13
package evolvingmemory
24

35
import (

0 commit comments

Comments
 (0)