Skip to content

Commit ba034b1

Browse files
Asakizotavio
authored andcommitted
Change the CI tests for the agent v2
Signed-off-by: asakiz <[email protected]>
1 parent 6d827d0 commit ba034b1

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,19 @@ jobs:
5050
sleep 1
5151
done
5252
53-
if [[ "$(echo "entry_point" | socat - UNIX-CONNECT:updatehub-statechange.sock)" != "" ]]; then
54-
echo "Unexpected entry_point response"
55-
exit 1
56-
fi
5753
if [[ "$(echo "download" | socat - UNIX-CONNECT:updatehub-statechange.sock)" != "cancel" ]]; then
5854
echo "Unexpected download response"
55+
exit 1
56+
fi
57+
if [[ "$(echo "install" | socat - UNIX-CONNECT:updatehub-statechange.sock)" != "" ]]; then
58+
echo "Unexpected install response"
5959
exit 2
6060
fi
61-
if [[ "$(echo "error foo" | socat - UNIX-CONNECT:updatehub-statechange.sock)" != "" ]]; then
61+
if [[ "$(echo "error" | socat - UNIX-CONNECT:updatehub-statechange.sock)" != "" ]]; then
6262
echo "Unexpected error response"
6363
exit 3
6464
fi
6565
if [[ "$(echo "reboot" | socat - UNIX-CONNECT:updatehub-statechange.sock)" != "" ]]; then
6666
echo "Unexpected reboot response"
6767
exit 4
6868
fi
69-

0 commit comments

Comments
 (0)