Skip to content

fix(test): e2e suite silently skips every test - #2585

Open
ekam-walia wants to merge 6 commits into
kagent-dev:mainfrom
ekam-walia:test-e2e-grpc-not-set
Open

fix(test): e2e suite silently skips every test#2585
ekam-walia wants to merge 6 commits into
kagent-dev:mainfrom
ekam-walia:test-e2e-grpc-not-set

Conversation

@ekam-walia

Copy link
Copy Markdown

This PR includes is the fix of issue #2580
I have changed t.Skip() to t.Fatalf() so the test fails loudly when the environment variable is missing. CI already sets KAGENT_GRPC_URL as a fallback (line 142 in .github/workflows/ci.yaml), so CI continues to work.

Fixes #2580

@ekam-walia
ekam-walia requested a review from a team as a code owner August 26, 2026 17:13
@ekam-walia

Copy link
Copy Markdown
Author

@jjamroga, made the suitable changes PTAL

@github-actions github-actions Bot added the bug Something isn't working label Aug 26, 2026
@EItanya

EItanya commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

You need to avoid running the e2e tests in the unit tests job

@EItanya

EItanya commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

And sign the DCO

Signed-off-by: ekam-walia <164983405+ekam-walia@users.noreply.github.com>
@ekam-walia
ekam-walia force-pushed the test-e2e-grpc-not-set branch from 4dbe7a7 to 14b87a6 Compare August 27, 2026 02:45
Signed-off-by: ekam-walia <164983405+ekam-walia@users.noreply.github.com>

@EItanya EItanya left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOrry, but can we re-add TestE2E to the prefix of the e2e tests like we had before. Build tags can be a little annoying locally

Signed-off-by: ekam-walia <164983405+ekam-walia@users.noreply.github.com>
@ekam-walia
ekam-walia force-pushed the test-e2e-grpc-not-set branch from 10721f8 to 62f65e6 Compare August 27, 2026 11:27
@ekam-walia

Copy link
Copy Markdown
Author

Hi @EItanya, made the reqd changes PTAL

Signed-off-by: ekam-walia <164983405+ekam-walia@users.noreply.github.com>
@EItanya

EItanya commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Unit tests are still failing

Signed-off-by: ekam-walia <164983405+ekam-walia@users.noreply.github.com>
@ekam-walia
ekam-walia force-pushed the test-e2e-grpc-not-set branch from d3f532b to 5e8db37 Compare August 27, 2026 16:51
@ekam-walia

Copy link
Copy Markdown
Author

Unit tests are still failing

Just made the changes, tests should work properly now

Signed-off-by: ekam-walia <164983405+ekam-walia@users.noreply.github.com>
@ekam-walia
ekam-walia force-pushed the test-e2e-grpc-not-set branch from ad931eb to b640a86 Compare August 27, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: e2e suite silently skips every test

2 participants