Skip to content

Commit 04cab80

Browse files
committed
chore: integration tests adjustments
1 parent e671c86 commit 04cab80

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

.github/workflows/chart-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ jobs:
9191
EOF
9292
9393
# Install the chart
94-
helm install hyperdx-test ./charts/hdx-oss-v2 -f test-values.yaml --timeout=5m
94+
helm install hyperdx-test ./charts/hdx-oss-v2 -f test-values.yaml --timeout=2m
9595
9696
# Give services time to initialize after pods are running
9797
echo "Waiting for services to initialize..."
98-
sleep 60
98+
sleep 20
9999
100100
- name: Verify deployment
101101
run: |
@@ -126,7 +126,7 @@ jobs:
126126
kubectl get events --sort-by=.metadata.creationTimestamp
127127
128128
echo "=== HyperDX App Logs ==="
129-
kubectl logs -l app.kubernetes.io/name=hdx-oss-v2 --tail=100 || true
129+
kubectl logs -l app=app --tail=100 || true
130130
131131
echo "=== ClickHouse Logs ==="
132132
kubectl logs -l app=clickhouse --tail=100 || true
@@ -141,4 +141,4 @@ jobs:
141141
if: always()
142142
run: |
143143
helm uninstall hyperdx-test || true
144-
kind delete cluster --name hyperdx-test || true
144+
kind delete cluster --name hyperdx-test || true

scripts/smoke-test.sh

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ echo "Namespace: $NAMESPACE"
1313
wait_for_service() {
1414
local url=$1
1515
local name=$2
16-
local attempts=30
16+
local attempts=5
1717
local count=1
1818

1919
echo "Waiting for $name..."
@@ -70,17 +70,8 @@ check_endpoint "http://localhost:3000" "200" "UI"
7070
kill $pf_pid 2>/dev/null || true
7171
sleep 2
7272

73-
# Test OTEL collector
74-
echo "Testing OTEL collector..."
75-
kubectl port-forward service/$RELEASE_NAME-hdx-oss-v2-otel-collector 8888:8888 -n $NAMESPACE &
76-
pf_pid=$!
77-
sleep 10
78-
79-
wait_for_service "http://localhost:8888/metrics" "OTEL metrics"
80-
check_endpoint "http://localhost:8888/metrics" "200" "OTEL metrics"
81-
82-
kill $pf_pid 2>/dev/null || true
83-
sleep 2
73+
# Skip OTEL collector metrics test (port 8888 not exposed by HyperDX collector)
74+
echo "Skipping OTEL collector metrics test (not exposed on port 8888)"
8475

8576
# Test data ingestion
8677
echo "Testing data ingestion..."

0 commit comments

Comments
 (0)