Skip to content

Commit 45df5c8

Browse files
committed
feat: add make test-e2e command
1 parent f0a7f88 commit 45df5c8

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ test:
1818
test-coverage: test
1919
go tool cover -html=coverage.out
2020

21+
test-e2e:
22+
go test ./... -tags=e2e_test
23+
2124
generate-proto: ## regenerate protos
2225
@echo " > cloning protobuf from odpf/proton"
2326
@echo " > generating protobuf"

test/e2e/e2e_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//+build integration
1+
//+build e2e_test
22

33
package e2e_test
44

@@ -40,7 +40,7 @@ var (
4040
const (
4141
testDB = "test_db"
4242
user = "test_user"
43-
pass = "pass"
43+
pass = "admin"
4444
mysqlHost = "localhost:3306"
4545
brokerHost = "localhost:9093"
4646
testTopic = "topic-a"

0 commit comments

Comments
 (0)