Skip to content

Commit 80b21dd

Browse files
committed
foo
1 parent 41d6038 commit 80b21dd

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/tests/test_notifications.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ def test_cloudevents_sink_logs_show_startup():
119119
"kubectl",
120120
"logs",
121121
"-l",
122-
"serving.knative.dev/service",
122+
"serving.knative.dev/service=eoapi-cloudevents-sink",
123123
"-n",
124124
namespace,
125-
"--tail=20",
125+
"--tail=100",
126126
],
127127
capture_output=True,
128128
text=True,
@@ -132,8 +132,9 @@ def test_cloudevents_sink_logs_show_startup():
132132
pytest.skip("Cannot get Knative CloudEvents sink logs")
133133

134134
logs = result.stdout
135-
assert "listening on port" in logs, (
136-
"Knative CloudEvents sink should have started successfully"
135+
# Check for either startup message or evidence the service is running
136+
assert "listening on port" in logs or "received a request" in logs, (
137+
f"Knative CloudEvents sink should be running. Got logs: {logs[:500]}"
137138
)
138139

139140

scripts/lib/cluster-k3s.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ k3s_create() {
5151
--agents 1
5252
--port "$http_port:80@loadbalancer"
5353
--port "$https_port:443@loadbalancer"
54-
--k3s-arg "--disable=servicelb@server:*"
54+
# --k3s-arg "--disable=servicelb@server:*"
5555
--registry-create "$cluster_name-registry:0.0.0.0:$K3S_REGISTRY_PORT"
5656
--wait
5757
)

0 commit comments

Comments
 (0)