Merge pull request #2334 from sijchen/fix_ut
[UT] fix the prob in case that the task uID is too big
This commit is contained in:
commit
21c1c02441
@ -24,7 +24,8 @@ class CSimpleTask : public IWelsTask {
|
||||
}
|
||||
|
||||
virtual int32_t Execute() {
|
||||
WelsSleep (300 - m_uiID);
|
||||
uint32_t uiSleepTime = (m_uiID > 99) ? 10 : m_uiID;
|
||||
WelsSleep (uiSleepTime);
|
||||
//printf ("Task %d executing\n", m_uiID);
|
||||
return cmResultSuccess;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user