Fix endless promise test bug with run-work-items job
Fix endless promise test bug with run-work-items job

bbcyyb/on-tasks,bbcyyb/on-tasks,AlaricChan/on-tasks,nortonluo/on-tasks,AlaricChan/on-tasks,nortonluo/on-tasks