Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/Optimize test termination condition check (esnet#1114)
`test->done` represents the test completion. In some modes, duration-based (-t) test, and file-transfer (-F) in particular, the `test->done` is set during the timeout handler or file-transfer functions. For such configurations, and in general, `test->done` being set is sufficient condition for terminating the test. This commit generalizes the condition check to `test->done`, removing the clause which limtis this condition case to duration-based test only.
- Loading branch information