ftest: waiting api setting of milliseconds in ftest insted of seconds