Skip to content

Commit 33eaf43

Browse files
Fix Go e2e tests not running in CI
Add ./... to go test commands to include tests in subdirectories like go/e2e/
1 parent 4b1d5d4 commit 33eaf43

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

go/test.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ echo "=== Running Go SDK E2E Tests ==="
4444
echo
4545

4646
echo "Running client tests..."
47-
go test -v -run TestClient -timeout 60s
47+
go test -v -run TestClient ./... -timeout 60s
4848
echo
4949

5050
echo "Running session tests..."
51-
go test -v -run TestSession -timeout 60s
51+
go test -v -run TestSession ./... -timeout 60s
5252
echo
5353

5454
echo "Running integration tests..."
55-
go test -v -run TestIntegration -timeout 60s
55+
go test -v -run TestIntegration ./... -timeout 60s
5656
echo
5757

5858
echo "Running helpers tests..."
59-
go test -v -run TestHelpers -timeout 90s
59+
go test -v -run TestHelpers ./... -timeout 90s
6060
echo
6161

6262
echo "✅ All tests passed!"

0 commit comments

Comments
 (0)