Skip to content

Commit

Permalink
update test scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Chun Tao <chun.tao@intel.com>
  • Loading branch information
ctao456 committed Oct 22, 2024
1 parent 14a2916 commit e3ce5c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion AvatarChatbot/tests/test_compose_on_gaudi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ function start_services() {


function validate_megaservice() {
result=$(http_proxy="" curl http://${ip_address}:3009/v1/avatarchatbot -X POST -d @sample_whoareyou.json -H 'Content-Type: application/json')
cd $WORKPATH
result=$(http_proxy="" curl http://${ip_address}:3009/v1/avatarchatbot -X POST -d @assets/audio/sample_whoareyou.json -H 'Content-Type: application/json')
echo "result is === $result"
if [[ $result == *"mp4"* ]]; then
echo "Result correct."
Expand Down
2 changes: 1 addition & 1 deletion AvatarChatbot/tests/test_compose_on_xeon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function start_services() {

function validate_megaservice() {
cd $WORKPATH
result=$(http_proxy="" curl http://${ip_address}:3009/v1/avatarchatbot -X POST -d @sample_whoareyou.json -H 'Content-Type: application/json')
result=$(http_proxy="" curl http://${ip_address}:3009/v1/avatarchatbot -X POST -d @assets/audio/sample_whoareyou.json -H 'Content-Type: application/json')
echo "result is === $result"
if [[ $result == *"mp4"* ]]; then
echo "Result correct."
Expand Down

0 comments on commit e3ce5c2

Please sign in to comment.