fix podcast review test
This commit is contained in:
parent
d159b479d1
commit
39effe5b2b
1 changed files with 9 additions and 5 deletions
|
|
@ -107,11 +107,15 @@ main() {
|
||||||
"//:podcast_reviews_graph.build" \
|
"//:podcast_reviews_graph.build" \
|
||||||
"//:podcast_reviews_graph.service"
|
"//:podcast_reviews_graph.service"
|
||||||
|
|
||||||
# Run podcast reviews tests - fail fast if build/test fails
|
# Run podcast reviews tests from correct directory - fail fast if build/test fails
|
||||||
run_test "Podcast Reviews Simple Test" \
|
log_info "Running test: Podcast Reviews Simple Test"
|
||||||
"$TESTS_DIR/podcast_simple_test.sh" \
|
if ! (cd "$SCRIPT_DIR/examples/podcast_reviews" && \
|
||||||
"$SCRIPT_DIR/examples/podcast_reviews/bazel-bin/podcast_reviews_graph.build" \
|
"$SCRIPT_DIR/tests/end_to_end/podcast_simple_test.sh" \
|
||||||
"$SCRIPT_DIR/examples/podcast_reviews/bazel-bin/podcast_reviews_graph.service"
|
"bazel-bin/podcast_reviews_graph.build" \
|
||||||
|
"bazel-bin/podcast_reviews_graph.service"); then
|
||||||
|
test_fail "Test failed: Podcast Reviews Simple Test"
|
||||||
|
fi
|
||||||
|
test_pass "Test passed: Podcast Reviews Simple Test"
|
||||||
|
|
||||||
# Test 3: Core DataBuild Tests (if any exist)
|
# Test 3: Core DataBuild Tests (if any exist)
|
||||||
log_info "=== Core DataBuild Tests ==="
|
log_info "=== Core DataBuild Tests ==="
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue