Skip to content

Commit 62f65e6

Browse files
committed
fix: rename e2e tests to TestE2E prefix for skip pattern
Signed-off-by: ekam-walia <164983405+ekam-walia@users.noreply.github.com>
1 parent 4f60135 commit 62f65e6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ jobs:
317317
run: |
318318
make setup-envtest
319319
export KUBEBUILDER_ASSETS="$(make -s envtest-path)"
320-
go test -race -tags "!e2e" -v ./...
320+
go test -race -skip 'TestE2E.*' -v ./...
321321
322322
helm-unit-tests:
323323
env:

go/core/test/e2e/interaction_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var interactionMocks embed.FS
4747

4848
// TestAgentInstanceInteraction verifies the complete public interaction path:
4949
// gateway routing, Substrate Actor transport, Go ADK execution, and the model call.
50-
func TestAgentInstanceInteraction(t *testing.T) {
50+
func TestE2ECreateInteraction(t *testing.T) {
5151
fixture := newInteractionFixture(t, interactionTarget(t), startInteractionMock(t))
5252
_, _, task := fixture.send(t, "What is 2+2?")
5353
if task.Status.State != a2atype.TaskStateCompleted {

go/core/test/e2e/lifecycle_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
// against a clean cluster. The cluster installation owns the fixed kagent/smoke
2323
// Harness and AgentTemplate fixtures; this test owns only the AgentInstance it
2424
// creates through the public API.
25-
func TestAgentInstanceLifecycle(t *testing.T) {
25+
func TestE2EAgentInstanceLifecycle(t *testing.T) {
2626
target := os.Getenv("KAGENT_E2E_GRPC_TARGET")
2727
if target == "" {
2828
target = os.Getenv("KAGENT_GRPC_URL")

0 commit comments

Comments
 (0)