-
Notifications
You must be signed in to change notification settings - Fork 2
Task statuses ‐ testing scenarios
nieznanysprawiciel edited this page Jun 25, 2024
·
6 revisions
Each scenario starts with following steps:
- Run Requestor yagna daemon
- Run MockGUI application and start Golem
- Run Requestor script
Variants:
a) Requestor closes task
- Hit ctrl-c single time in Requestor script
Variants:
a) Requestor yagna daemon disappears
- Kill yagna process
b) Requestor script destroys activity, but doesn't terminate Agreement
- Hit ctrl-c in Requestor script double time (in most cases he will manage to terminate activity)
c) Requestor script doesn't destroy activity and doesn't terminate Agreement
- Kill (Sigkill) Requestor script
Variants:
a) Provider gracefully shutdowns application (Agreement is terminated and he is able to send Invoice)
- Click Stop button in MockGUI app
b) Provider is killed (Provider is not able to terminate Agreement)
- Kill (Sigkill) ya-provider agent process
c) Provider's yagna daemon dies
- Kill (Sigkill) yagna process
d) ExeUnit dies (Depends how Requestor handles this. He could create new Agreement, terminate or abandon job)
- Kill (Sigkill or Sigterm) ya-runtime-ai
e) Provider is killed and restarted. Requestor terminates after restart
- Kill (Sigkill) ya-provider agent process
- Start again with start button
- Hit ctrl-c on Requestor application