Remove basic graph from e2e test
This commit is contained in:
parent
0d662e9f38
commit
cf746ebdce
1 changed files with 2 additions and 29 deletions
|
|
@ -84,36 +84,12 @@ main() {
|
|||
# Only clean if we detect Java version mismatches
|
||||
if bazel info 2>&1 | grep -q "openjdk/23"; then
|
||||
log_warn "Detected stale Java paths, cleaning Bazel caches..."
|
||||
(cd "$SCRIPT_DIR/examples/basic_graph" && bazel clean --expunge > /dev/null 2>&1 || true)
|
||||
(cd "$SCRIPT_DIR/examples/podcast_reviews" && bazel clean --expunge > /dev/null 2>&1 || true)
|
||||
else
|
||||
log_info "Java environment looks good, skipping cache clean"
|
||||
fi
|
||||
|
||||
# Test 1: Basic Graph
|
||||
log_info "=== Basic Graph End-to-End Tests ==="
|
||||
|
||||
# Build basic graph targets
|
||||
build_targets "$SCRIPT_DIR/examples/basic_graph" \
|
||||
"//:basic_graph.build" \
|
||||
"//:basic_graph.service"
|
||||
|
||||
# Run basic graph simple test
|
||||
run_test "Basic Graph Simple Test" \
|
||||
"$TESTS_DIR/simple_test.sh" \
|
||||
"$SCRIPT_DIR/examples/basic_graph/bazel-bin/basic_graph.build" \
|
||||
"$SCRIPT_DIR/examples/basic_graph/bazel-bin/basic_graph.service"
|
||||
|
||||
# Run delegation test for basic graph
|
||||
log_info "Running test: Basic Graph Delegation Test"
|
||||
if ! (cd "$SCRIPT_DIR/examples/basic_graph" && \
|
||||
"$SCRIPT_DIR/tests/end_to_end/delegation_test.sh" \
|
||||
"bazel-bin/basic_graph.build"); then
|
||||
test_fail "Test failed: Basic Graph Delegation Test"
|
||||
fi
|
||||
test_pass "Test passed: Basic Graph Delegation Test"
|
||||
|
||||
# Test 2: Podcast Reviews
|
||||
|
||||
# Test 1: Podcast Reviews
|
||||
log_info "=== Podcast Reviews End-to-End Tests ==="
|
||||
|
||||
# Build podcast reviews targets - fail fast if build fails
|
||||
|
|
@ -153,8 +129,6 @@ main() {
|
|||
|
||||
# Summary
|
||||
log_info "=== Test Summary ==="
|
||||
test_pass "Basic Graph CLI and Service builds work correctly"
|
||||
test_pass "Basic Graph delegation prevents duplicate builds"
|
||||
test_pass "Podcast Reviews CLI build works correctly"
|
||||
test_pass "Podcast Reviews delegation prevents duplicate builds"
|
||||
test_pass "Build event logging functions properly"
|
||||
|
|
@ -176,7 +150,6 @@ main() {
|
|||
cleanup() {
|
||||
log_info "Cleaning up test processes..."
|
||||
pkill -f "build_graph_service" 2>/dev/null || true
|
||||
pkill -f "basic_graph.service" 2>/dev/null || true
|
||||
pkill -f "podcast_reviews_graph.service" 2>/dev/null || true
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue