Skip to content

Commit

Permalink
feat: add smoke test for the age-classification pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Sean O'Hair <sean.ohair@intel.com>
  • Loading branch information
seanohair22 committed Oct 16, 2024
1 parent 40caa0d commit 08fc915
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion smoke_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ teardown

# 3. Loss Prevention GPU results: should see non-empty pipeline0.log contents
echo "Running Loss Prevention GPU with logs..."
make run DEVICE_ENV=res/yolov5-gpu.env DEVICE=GPU
make run DEVICE_ENV=res/all-gpu.env DEVICE=GPU
status_code=$?
verifyStatusCode $status_code
# allowing some time to process
Expand All @@ -109,4 +109,14 @@ verifyStatusCode $status_code
# allowing some time to process
waitForLogFile
verifyNonEmptyPipelineLog
teardown

# 5. Age pipeline: should see non-empty pipeline0.log contents
echo "Running Age Classification pipeline with logs..."
INPUTSRC=https://www.pexels.com/download/video/3248275 PIPELINE_SCRIPT=age_recognition.sh docker compose -f src/docker-compose.yml up -d
status_code=$?
verifyStatusCode $status_code
# allowing some time to process
waitForLogFile
verifyNonEmptyPipelineLog
teardown

0 comments on commit 08fc915

Please sign in to comment.