Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test: close the residual !podName green-vacuous returns in network-policies [R3-M2b]

Alfredo Lopez8fca26a89ab9
diff --git a/tests/e2e/integration/network-policies.test.ts b/tests/e2e/integration/network-policies.test.ts
index 4aa4c38ee..07925e9db 100644
--- a/tests/e2e/integration/network-policies.test.ts
+++ b/tests/e2e/integration/network-policies.test.ts
@@ -325,7 +325,7 @@ describe('NetworkPolicy Enforcement (Calico)', () => {
const podName = getChannelReaderPodName()
if (!podName) {
console.warn('SKIPPED: no running channel-reader pod in channels')
- return
+ ctx.skip()
}
const result = testConnectivity(
@@ -430,7 +430,7 @@ describe('NetworkPolicy Enforcement (Calico)', () => {
const podName = findExecPod('sandbox-recipes', 'app=db')
if (!podName) {
console.warn('SKIPPED: no running db pod in sandbox-recipes')
- return
+ ctx.skip()
}
// sandbox-recipes has deny-all; only DNS + HCC API egress allowed
const result = testConnectivity(
@@ -447,7 +447,7 @@ describe('NetworkPolicy Enforcement (Calico)', () => {
const podName = findExecPod('sandbox-recipes', 'app=db')
if (!podName) {
console.warn('SKIPPED: no running db pod in sandbox-recipes')
- return
+ ctx.skip()
}
const result = testConnectivity(
'sandbox-recipes',