Skip to content

Commit 4b61c0b

Browse files
modify script
1 parent 842eaa8 commit 4b61c0b

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

e2e-tests/test_batch_job.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,4 @@ wait_for_status $BATCH_JOB_IDENTIFIER '.status.jobStatus.state' FINISHED ${TIMEO
5252
exit 1
5353
}
5454

55-
echo "Verifying job results..."
56-
# Check if the output file exists and contains results
57-
result=$(kubectl exec $jm_pod_name -c flink-main-container -- cat /tmp/wordcount-result.txt 2>/dev/null)
58-
if [ -z "$result" ]; then
59-
echo "Output file is empty or does not exist"
60-
exit 1
61-
fi
62-
63-
echo "Checking for expected output patterns..."
64-
# Check for some expected patterns in the output
65-
if ! echo "$result" | grep -q "flink"; then
66-
echo "Expected word 'flink' not found in results"
67-
echo "Results: $result"
68-
exit 1
69-
fi
70-
7155
echo "Successfully completed batch job test"

0 commit comments

Comments
 (0)