@@ -235,8 +235,8 @@ jobs:
235235
236236 - name : Run the prompts
237237 run : |
238- ./occ background-job:worker 'OC\TaskProcessing\SynchronousBackgroundJob' &
239- ./occ background-job:worker 'OC\TaskProcessing\SynchronousBackgroundJob' &
238+ ./occ background-job:worker --stop_after=2m 'OC\TaskProcessing\SynchronousBackgroundJob' &
239+ ./occ background-job:worker --stop_after=2m 'OC\TaskProcessing\SynchronousBackgroundJob' &
240240 OUT1=$(./occ context_chat:prompt admin "Which factors are taken into account for the Ethical AI Rating?")
241241 echo "$OUT1"
242242 echo '--------------------------------------------------'
@@ -533,8 +533,8 @@ jobs:
533533
534534 - name : Run the prompts
535535 run : |
536- ./occ background-job:worker 'OC\TaskProcessing\SynchronousBackgroundJob' &
537- ./occ background-job:worker 'OC\TaskProcessing\SynchronousBackgroundJob' &
536+ ./occ background-job:worker --stop_after=2m 'OC\TaskProcessing\SynchronousBackgroundJob' &
537+ ./occ background-job:worker --stop_after=2m 'OC\TaskProcessing\SynchronousBackgroundJob' &
538538 OUT1=$(./occ context_chat:prompt admin "Which factors are taken into account for the Ethical AI Rating?")
539539 echo "$OUT1"
540540 echo '--------------------------------------------------'
@@ -821,8 +821,8 @@ jobs:
821821
822822 - name : Run the prompts
823823 run : |
824- ./occ background-job:worker 'OC\TaskProcessing\SynchronousBackgroundJob' &
825- ./occ background-job:worker 'OC\TaskProcessing\SynchronousBackgroundJob' &
824+ ./occ background-job:worker --stop_after=2m 'OC\TaskProcessing\SynchronousBackgroundJob' &
825+ ./occ background-job:worker --stop_after=2m 'OC\TaskProcessing\SynchronousBackgroundJob' &
826826 set +e
827827
828828 # Check for user admin: Should be there
@@ -896,8 +896,8 @@ jobs:
896896
897897 - name : Run the prompts again
898898 run : |
899- ./occ background-job:worker 'OC\TaskProcessing\SynchronousBackgroundJob' &
900- ./occ background-job:worker 'OC\TaskProcessing\SynchronousBackgroundJob' &
899+ ./occ background-job:worker --stop_after=2m 'OC\TaskProcessing\SynchronousBackgroundJob' &
900+ ./occ background-job:worker --stop_after=2m 'OC\TaskProcessing\SynchronousBackgroundJob' &
901901
902902 set +e
903903
0 commit comments