Skip to content

Commit b7901f3

Browse files
committed
Do fail e2e test if data not found
1 parent 64cda47 commit b7901f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/e2e-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,8 @@ EOF
399399
-u root -p root --ns airbyte --db airbyte 2>/dev/null || echo "[[]]")
400400

401401
if echo "$data_check" | grep -q "\[\[\]\]" || [ -z "$data_check" ]; then
402-
log_warning "No data found in SurrealDB, but sync job completed successfully"
403-
log_info "This might be expected if the test dataset is empty or the table name is different"
402+
log_error "No data found in SurrealDB, but sync job completed successfully"
403+
exit 1
404404
else
405405
log_success "Data successfully synced to SurrealDB!"
406406
echo "Sample data:"

0 commit comments

Comments
 (0)